/* =========================================================
   Data Sports — site styles
   ========================================================= */

:root {
  --green: #1ba080;
  --white: #ffffff;
  --blue: #070744;
  --yellow: #ffd600;
  --peach: #f4cca6;
  --lavender: #efeff9;
  --pink: #ff005c;
  --navbar-height: 72px;
}

/* ---------- reset ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--blue);
  background-color: var(--white);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 500;
}

h1,
h2 {
  font-size: 56px;
  line-height: 1.28571;
}

h3 {
  font-size: 34px;
  line-height: 1.29412;
}

h4 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.29167;
}

h5 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

button {
  font: inherit;
}

/* ---------- layout helpers ---------- */

.page-wrapper {
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1208px;
  min-height: 20px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.overflow-hidden {
  overflow: hidden;
}

.paragraph.large {
  font-size: 18px;
}

.paragraph.extra-large {
  font-size: 20px;
}

.paragraph.small {
  font-size: 14px;
}

.max-width {
  max-width: 67ch;
}

/* ---------- navbar ---------- */

.navbar {
  background-color: var(--white);
  justify-content: space-between;
  align-items: center;
  height: var(--navbar-height);
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
}

.navbar-inner-wrapper {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: 160px;
}

.nav-menu-wrapper {
  gap: 32px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.nav-link {
  color: var(--blue);
  padding: 0;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--green);
}

.app-links-wrapper {
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.app-links-wrapper.mobile-device {
  display: none;
}

.app-link img {
  display: block;
}

.app-link:first-child img {
  width: 90.5px;
}

.app-link:last-child img {
  width: 100.5px;
}

.menu-button {
  display: none;
  color: var(--blue);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.menu-button svg {
  display: block;
}

/* ---------- section 1 — hero ---------- */

.section-1 {
  background-color: var(--lavender);
  margin-top: var(--navbar-height);
  padding-top: 55px;
  padding-bottom: 55px;
  scroll-margin-top: var(--navbar-height);
}

.hero-grid {
  grid-template-rows: auto;
  grid-template-columns: minmax(auto, 532px) 1fr;
  display: grid;
}

.hero-content-wrapper {
  gap: 32px;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  display: flex;
}

.h1 {
  max-width: 100%;
}

.button {
  gap: 12px;
  background-color: var(--green);
  color: var(--white);
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  padding: 9px 12px;
  font-size: 18px;
  line-height: 1;
  display: flex;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.circle {
  background-color: var(--pink);
  border-radius: 100%;
  width: 12px;
  height: 12px;
  flex: none;
}

.hero-image-wrapper {
  justify-content: center;
  align-items: center;
  display: flex;
}

.hero-image {
  width: 326px;
}

/* ---------- section 2 — federation marquee ---------- */

.section-2 {
  padding: 20px 20px 20px 60px;
}

.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  gap: 96px;
  flex: none;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  padding-right: 96px;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.logo-holder {
  flex: none;
  display: flex;
  align-items: center;
}

.logo-holder img {
  display: block;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ---------- section 3 — features ---------- */

.section-3 {
  background-color: var(--blue);
  padding-top: 88px;
  padding-bottom: 88px;
  scroll-margin-top: var(--navbar-height);
}

.heading-wrapper {
  gap: 24px;
  color: var(--white);
  text-align: center;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.heading-wrapper.blue {
  color: var(--blue);
  max-width: 72ch;
}

.card-grid {
  gap: 32px;
  grid-template-columns: repeat(4, 1fr);
  display: grid;
  margin-top: 56px;
}

.feature-card {
  border-radius: 8px;
  min-height: 376px;
  max-height: 376px;
  padding: 24px;
  display: flex;
  overflow: hidden;
}

.card-content-wrapper {
  gap: 8px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.card-1 {
  grid-column: span 2;
  color: var(--white);
  background-image: url("../images/card-coaching-bg.avif");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 556px;
  justify-content: flex-start;
  align-items: flex-end;
}

.card-2 {
  background-color: var(--yellow);
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
}

.card-3 {
  color: var(--white);
  background-image: url("../images/card-social-bg.avif");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 262px;
  flex-flow: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.card-4 {
  background-color: var(--peach);
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
}

.card-5 {
  background-color: var(--green);
  color: var(--white);
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
}

.card-6 {
  grid-column: span 2;
  background-color: var(--lavender);
  color: var(--blue);
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0;
}

.icon-wrapper img {
  display: block;
}

.card-2 .icon-wrapper img {
  width: 56.5px;
}

.card-4 .icon-wrapper img {
  width: 64.5px;
}

.card-5 .icon-wrapper img {
  width: 48.5px;
}

.card-6 .icon-wrapper img {
  width: 316px;
}

/* ---------- section 4 — apps ---------- */

.section-4 {
  background-color: var(--lavender);
  padding-top: 96px;
  padding-bottom: 96px;
  scroll-margin-top: var(--navbar-height);
}

.v-flex {
  gap: 88px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.graphics-wrapper {
  justify-content: center;
  align-items: center;
  display: flex;
}

.data-golf {
  width: 160.5px;
}

.two-column-grid {
  gap: 48px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  display: grid;
  align-items: center;
  width: 100%;
}

.content-left {
  gap: 24px;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  display: flex;
}

.app-store-link {
  margin-top: 24px;
  display: inline-block;
}

.app-store-link img {
  width: 153.5px;
  display: block;
}

.image-wrapper {
  border-radius: 8px;
  overflow: hidden;
}

.image-wrapper .image {
  width: 540.5px;
  display: block;
}

.image-wrapper.first {
  order: -9999;
}

/* ---------- section 5 — mission ---------- */

.section-5 {
  background-color: var(--yellow);
  padding-top: 96px;
  padding-bottom: 96px;
  scroll-margin-top: var(--navbar-height);
}

.mission-div {
  gap: 96px;
  grid-template-rows: auto;
  grid-template-columns: 208px 1fr;
  justify-content: space-between;
  align-items: center;
  display: grid;
}

.mission-div .graphics-wrapper img {
  width: 209px;
}

.mission-text-wrapper {
  gap: 24px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

/* ---------- section 6 — footer ---------- */

.section-6 {
  background-color: var(--blue);
  color: var(--white);
  padding-top: 48px;
  padding-bottom: 48px;
}

.footer-grid {
  gap: 20px;
  grid-template-rows: max-content;
  grid-template-columns: 26ch 1fr;
  display: grid;
}

.footer-logo-link img {
  width: 182.5px;
  display: block;
}

.empty-div {
  height: 10px;
}

.footer-text {
  font-size: 24px;
}

.footer-links-wrapper {
  gap: 48px;
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

.footer-link {
  color: var(--white);
  font-size: 20px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--yellow);
}

.social-links-wrapper {
  gap: 32px;
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

.social-link img {
  display: block;
}

.social-link:nth-child(1) img { width: 18.5px; }
.social-link:nth-child(2) img { width: 41px; }
.social-link:nth-child(3) img { width: 33px; }
.social-link:nth-child(4) img { width: 32.5px; }
.social-link:nth-child(5) img { width: 28px; }

/* ---------- section 7 — legal pages ---------- */

.section-7 {
  margin-top: var(--navbar-height);
  padding-top: 96px;
  padding-bottom: 96px;
}

.privacy-policy-wrapper {
  gap: 72px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.heading-wrapper-pp {
  gap: 32px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
  overflow: hidden;
}

/* ---------- scroll reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.reveal-zoom {
  transform: translate3d(0, 100px, 0) scale3d(0.75, 0.75, 1);
}

.js .reveal.reveal-fade {
  transform: none;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none;
  }
}

/* ---------- responsive ---------- */

@media screen and (min-width: 1920px) {
  .section-2 {
    padding-left: 162px;
    padding-right: 162px;
  }
}

@media screen and (max-width: 991px) {
  .menu-button {
    display: block;
    order: 3;
  }

  .nav-menu {
    display: none;
    position: absolute;
    inset: var(--navbar-height) 0 auto;
  }

  .nav-menu.is-open {
    display: block;
  }

  .nav-menu-wrapper {
    background-color: var(--white);
    flex-flow: column;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .app-links-wrapper.mobile-device {
    display: flex;
  }

  .app-links-wrapper.desktop {
    display: none;
  }

  .hero-grid {
    gap: 70px;
    grid-template-columns: 1fr;
  }

  .marquee-track {
    gap: 64px;
    padding-right: 64px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-1 {
    background-size: cover;
  }

  .card-3 {
    background-position: 50%;
    background-size: cover;
  }

  .two-column-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .image-wrapper.first {
    order: 9999;
  }

  .image-wrapper .image {
    width: 100%;
    max-width: 540.5px;
  }

  .mission-div {
    gap: 64px;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links-wrapper,
  .social-links-wrapper {
    justify-content: flex-start;
    align-items: center;
  }

  .footer-links-wrapper {
    grid-area: 5 / 1 / 6 / 2;
  }

  .footer-copyright {
    order: 9999;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .h1 {
    max-width: 13ch;
    font-size: 48px;
  }

  .section-3 {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .card-grid {
    gap: 24px;
  }

  .section-4 {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .v-flex {
    gap: 48px;
  }

  .h2 {
    font-size: 48px;
  }

  .h3 {
    font-size: 30px;
  }

  .section-5 {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .footer-links-wrapper {
    gap: 24px;
    justify-content: flex-start;
    align-items: center;
  }

  .footer-link {
    font-size: 16px;
  }

  .section-7 {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .privacy-policy-wrapper {
    gap: 48px;
  }

  .heading-wrapper-pp {
    gap: 24px;
  }

  .brand {
    padding-left: 0;
  }
}

@media screen and (max-width: 479px) {
  .section-2 {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-content-wrapper {
    gap: 24px;
  }

  .h1 {
    font-size: 40px;
  }

  .hero-image {
    width: 100%;
    max-width: 326px;
  }

  .paragraph.large {
    font-size: 16px;
  }

  .paragraph.extra-large {
    font-size: 18px;
  }

  .marquee-track {
    gap: 32px;
    padding-right: 32px;
  }

  .section-3 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .card-grid {
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .card-1,
  .card-6 {
    grid-column: span 1;
  }

  .card-6 .icon-wrapper img {
    width: 100%;
    max-width: 316px;
  }

  .section-4 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .v-flex {
    gap: 32px;
  }

  .h2 {
    font-size: 40px;
  }

  .two-column-grid.second {
    gap: 32px;
  }

  .h3 {
    font-size: 26px;
  }

  .app-store-link {
    margin-top: 0;
  }

  .section-5 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .mission-div {
    gap: 32px;
  }

  .footer-text {
    font-size: 22px;
  }

  .footer-links-wrapper {
    gap: 20px;
    flex-flow: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .section-7 {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .privacy-policy-wrapper,
  .heading-wrapper-pp {
    gap: 24px;
  }
}

/* =========================================================
   Product pages — App & Manager
   ========================================================= */

/* ---------- current page in nav ---------- */

.nav-link.is-current {
  color: var(--green);
}

/* ---------- page hero ---------- */

.page-hero {
  background-color: var(--lavender);
  margin-top: var(--navbar-height);
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-hero-inner {
  gap: 24px;
  text-align: center;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  max-width: 74ch;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.eyebrow {
  gap: 10px;
  background-color: var(--white);
  border-radius: 999px;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
}

.eyebrow .circle {
  width: 10px;
  height: 10px;
}

.chip-row {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  display: flex;
}

.chip {
  background-color: var(--white);
  border: 1px solid #dedeee;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.chip:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ---------- feature rows ---------- */

.section-features {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-features.tinted {
  background-color: var(--lavender);
}

.section-features .heading-wrapper {
  margin-bottom: 72px;
}

.feature-row {
  gap: 72px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  display: grid;
}

.feature-row + .feature-row {
  margin-top: 112px;
}

.feature-row.reverse .feature-media {
  order: -1;
}

.feature-copy {
  gap: 20px;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  display: flex;
}

.feature-index {
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.feature-list {
  gap: 12px;
  flex-flow: column;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.feature-list li {
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.45;
  display: flex;
}

.feature-list li::before {
  content: "";
  background-color: var(--green);
  border-radius: 100%;
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 7px;
}

.feature-media {
  justify-content: center;
  align-items: center;
  min-width: 0;
  display: flex;
}

/* dashboards need the full column width, so their copy sits above the image */

.feature-block + .feature-block {
  margin-top: 112px;
}

.feature-block-head {
  gap: 32px 72px;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  margin-bottom: 44px;
  display: grid;
}

.feature-block-title {
  gap: 16px;
  flex-flow: column;
  align-items: flex-start;
  display: flex;
}

.feature-block-body {
  gap: 20px;
  flex-flow: column;
  min-width: 0;
  display: flex;
}

.feature-media.wide {
  display: block;
}

.media-caption {
  color: #5a5a7a;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}

.media-stack {
  width: 100%;
  min-width: 0;
}

.scroll-hint {
  display: none;
}

/* ---------- closing CTA ---------- */

.section-cta {
  background-color: var(--blue);
  color: var(--white);
  padding-top: 88px;
  padding-bottom: 88px;
}

.cta-inner {
  gap: 28px;
  text-align: center;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.cta-inner .app-links-wrapper {
  justify-content: center;
}

/* =========================================================
   iPhone chrome + app screen mockups
   ========================================================= */

.device {
  --screen-width: 268px;
  background-color: #14141f;
  border-radius: 48px;
  flex: none;
  padding: 10px;
  display: inline-block;
  position: relative;
  box-shadow: inset 0 0 0 2px #3a3a4e, 0 26px 60px rgba(7, 7, 68, 0.26), 0 3px 8px rgba(7, 7, 68, 0.14);
}

/* right side — power button */
.device::before {
  content: "";
  background-color: #23233a;
  border-radius: 0 3px 3px 0;
  width: 3px;
  height: 58px;
  position: absolute;
  top: 148px;
  right: -3px;
}

/* left side — silent switch + volume buttons */
.device::after {
  content: "";
  background-image: linear-gradient(#23233a 0 26px, transparent 26px 42px, #23233a 42px 76px, transparent 76px 90px, #23233a 90px 124px);
  border-radius: 3px 0 0 3px;
  width: 3px;
  height: 124px;
  position: absolute;
  top: 108px;
  left: -3px;
}

.device-screen {
  background-color: #f4f4f9;
  border-radius: 39px;
  flex-flow: column;
  width: var(--screen-width);
  aspect-ratio: 9 / 19.5;
  display: flex;
  position: relative;
  overflow: hidden;
}

.device-island {
  background-color: #06060f;
  border-radius: 999px;
  width: 82px;
  height: 24px;
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.device-home {
  background-color: #06060f;
  opacity: 0.8;
  border-radius: 999px;
  width: 104px;
  height: 4px;
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.status-bar {
  color: var(--blue);
  justify-content: space-between;
  align-items: center;
  flex: none;
  height: 42px;
  padding: 0 18px 0 20px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.status-bar.light {
  color: var(--white);
}

.status-icons {
  gap: 5px;
  align-items: center;
  display: flex;
}

.status-icons svg {
  display: block;
}

/* ---------- screen shell ---------- */

.scr {
  flex-flow: column;
  flex: 1;
  min-height: 0;
  font-size: 11px;
  line-height: 1.3;
  display: flex;
  overflow: hidden;
}

.scr-top {
  flex: none;
}

.scr-top.plain {
  background-color: var(--white);
  border-bottom: 1px solid #ebebf3;
}

.scr-top.green {
  background-color: var(--green);
  color: var(--white);
}

.scr-top.photo {
  color: var(--white);
  background-image: linear-gradient(rgba(7, 7, 68, 0.1), rgba(7, 7, 68, 0.72)), url("../images/card-coaching-bg.avif");
  background-position: 50% 40%;
  background-size: cover;
}

.scr-nav {
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 2px 14px 10px;
  display: flex;
}

.scr-back {
  gap: 5px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.scr-title {
  font-size: 15px;
  font-weight: 700;
}

.scr-head {
  gap: 3px;
  flex-flow: column;
  align-items: flex-start;
  padding: 4px 14px 14px;
  display: flex;
}

.scr-head-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
}

.scr-head-sub {
  opacity: 0.85;
  font-size: 11px;
}

.scr-body {
  gap: 8px;
  flex-flow: column;
  flex: 1;
  min-height: 0;
  padding: 10px;
  display: flex;
  overflow: hidden;
}

.scr-body.tight {
  gap: 6px;
}

/* ---------- screen building blocks ---------- */

.scr-card {
  background-color: var(--white);
  border-radius: 12px;
  flex: none;
  padding: 10px 11px;
  box-shadow: 0 1px 3px rgba(7, 7, 68, 0.06);
}

.scr-card.flush {
  padding: 0;
  overflow: hidden;
}

.scr-card-head {
  gap: 8px;
  background-color: var(--green);
  color: var(--white);
  justify-content: space-between;
  align-items: center;
  padding: 8px 11px;
  font-weight: 700;
  display: flex;
}

.scr-card-head.navy {
  background-color: var(--blue);
}

.scr-card-body {
  padding: 4px 11px 8px;
}

.scr-label {
  color: #7b7b95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 700;
}

.scr-row {
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  display: flex;
}

.scr-row + .scr-row {
  border-top: 1px solid #f0f0f6;
}

.scr-row-main {
  gap: 8px;
  align-items: center;
  min-width: 0;
  display: flex;
}

.scr-row-text {
  gap: 1px;
  flex-flow: column;
  min-width: 0;
  display: flex;
}

.scr-name {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scr-sub {
  color: #7b7b95;
  font-size: 10px;
}

.scr-value {
  color: var(--green);
  flex: none;
  font-size: 14px;
  font-weight: 700;
}

.scr-value.navy {
  color: var(--blue);
}

.avatar {
  background-color: var(--lavender);
  color: var(--blue);
  border-radius: 100%;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
}

.avatar.green { background-color: #d4efe7; color: #12775f; }
.avatar.yellow { background-color: #fff0b0; color: #7a6200; }
.avatar.peach { background-color: #fbe4cd; color: #8a5322; }
.avatar.navy { background-color: #dcdcf2; color: #2b2b72; }

.rank {
  color: #7b7b95;
  text-align: center;
  flex: none;
  width: 16px;
  font-size: 11px;
  font-weight: 700;
}

.rank.lead {
  color: var(--green);
}

.scr-pill {
  border-radius: 999px;
  flex: none;
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 700;
  display: inline-block;
}

.scr-pill.ok { background-color: #dff2ec; color: #12775f; }
.scr-pill.warn { background-color: #fff0b8; color: #7a6200; }
.scr-pill.info { background-color: #e5e5f6; color: #3232a0; }
.scr-pill.live { background-color: #ffdde7; color: #b0003f; }

.scr-button {
  background-color: var(--blue);
  color: var(--white);
  text-align: center;
  border-radius: 999px;
  flex: none;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
}

.scr-button.green {
  background-color: var(--green);
}

.scr-field {
  gap: 7px;
  color: #9797ae;
  background-color: var(--white);
  border-radius: 999px;
  align-items: center;
  padding: 8px 12px;
  font-size: 11px;
  display: flex;
}

.scr-banner {
  gap: 9px;
  background-color: var(--blue);
  color: var(--white);
  border-radius: 12px;
  align-items: center;
  padding: 10px 11px;
  display: flex;
}

.scr-banner.green {
  background-color: var(--green);
}

.scr-banner-text {
  gap: 2px;
  flex-flow: column;
  display: flex;
}

.scr-banner-title {
  font-size: 12px;
  font-weight: 700;
}

.scr-banner-sub {
  opacity: 0.82;
  font-size: 10px;
}

.scr-metric {
  gap: 2px;
  text-align: center;
  flex-flow: column;
  align-items: center;
  display: flex;
}

.scr-metric-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.scr-metric-value.big {
  font-size: 40px;
  letter-spacing: -0.02em;
}

.scr-metric-label {
  color: #7b7b95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 700;
}

.scr-metric-row {
  gap: 8px;
  display: flex;
}

.scr-metric-row > * {
  flex: 1;
}

.scr-tile {
  background-color: var(--white);
  border-radius: 12px;
  padding: 9px 6px;
  box-shadow: 0 1px 3px rgba(7, 7, 68, 0.06);
}

.scr-grid {
  gap: 7px;
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.scr-choice {
  gap: 5px;
  background-color: var(--white);
  border: 1.5px solid #eaeaf3;
  border-radius: 12px;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 9px 26px 9px 10px;
  display: flex;
  position: relative;
}

.scr-choice.is-selected {
  border-color: var(--green);
  background-color: #eef8f5;
}

.scr-choice-name {
  font-size: 11.5px;
  font-weight: 700;
}

.scr-choice-sub {
  color: #7b7b95;
  font-size: 9.5px;
  line-height: 1.25;
}

.scr-choice-mark {
  color: var(--green);
  position: absolute;
  top: 9px;
  right: 8px;
}

.scr-tabs {
  background-color: var(--white);
  border-top: 1px solid #ebebf3;
  justify-content: space-around;
  align-items: center;
  flex: none;
  padding: 8px 6px 18px;
  display: flex;
}

.scr-tab {
  gap: 3px;
  color: #9797ae;
  flex-flow: column;
  align-items: center;
  font-size: 9px;
  font-weight: 600;
  display: flex;
}

.scr-tab.is-active {
  color: var(--blue);
}

.scr-tab svg {
  display: block;
}

/* ---------- GPS hole graphic ---------- */

.hole-map {
  background-color: #dff0e6;
  border-radius: 12px;
  flex: none;
  overflow: hidden;
}

.hole-map svg {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   Manager dashboard mockups
   ========================================================= */

.window-frame {
  width: 100%;
  padding: 3px 3px 30px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.window {
  background-color: var(--white);
  border: 1px solid #e3e3ef;
  border-radius: 14px;
  min-width: 620px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(7, 7, 68, 0.16), 0 2px 6px rgba(7, 7, 68, 0.08);
}

.window-bar {
  gap: 10px;
  background-color: #f2f2f7;
  border-bottom: 1px solid #e6e6ef;
  align-items: center;
  padding: 0 14px;
  height: 36px;
  display: flex;
}

.window-dots {
  gap: 6px;
  flex: none;
  align-items: center;
  display: flex;
}

.window-dots span {
  border-radius: 100%;
  width: 10px;
  height: 10px;
  display: block;
}

.window-dots span:nth-child(1) { background-color: #ff5f57; }
.window-dots span:nth-child(2) { background-color: #febc2e; }
.window-dots span:nth-child(3) { background-color: #28c840; }

.window-url {
  color: #8a8aa3;
  background-color: var(--white);
  border-radius: 6px;
  flex: 1;
  align-items: center;
  max-width: 280px;
  height: 22px;
  margin: 0 auto;
  padding: 0 10px;
  font-size: 10px;
  display: flex;
}

.dash {
  grid-template-columns: 138px 1fr;
  min-height: 384px;
  display: grid;
}

.dash-side {
  gap: 3px;
  background-color: var(--blue);
  color: var(--white);
  flex-flow: column;
  padding: 14px 10px;
  display: flex;
}

.dash-brand {
  gap: 7px;
  align-items: center;
  padding: 0 8px 14px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.dash-brand-mark {
  background-color: var(--green);
  border-radius: 7px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
}

.side-item {
  border-radius: 8px;
  opacity: 0.62;
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 500;
}

.side-item.is-active {
  background-color: rgba(255, 255, 255, 0.14);
  opacity: 1;
  font-weight: 700;
}

.side-group {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 9px 5px;
  font-size: 8.5px;
  font-weight: 700;
}

.dash-main {
  gap: 12px;
  background-color: #fafafd;
  flex-flow: column;
  padding: 16px;
  display: flex;
}

.dash-head {
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.dash-title {
  font-size: 16px;
  font-weight: 700;
}

.dash-sub {
  color: #7b7b95;
  margin-top: 2px;
  font-size: 10.5px;
}

.dash-actions {
  gap: 7px;
  flex: none;
  align-items: center;
  display: flex;
}

.dash-btn {
  background-color: var(--white);
  border: 1px solid #e2e2ee;
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 600;
}

.dash-btn.primary {
  background-color: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.dash-btn.navy {
  background-color: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.kpi-row {
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  display: grid;
}

.kpi {
  background-color: var(--white);
  border: 1px solid #ececf4;
  border-radius: 10px;
  padding: 10px 11px;
}

.kpi-label {
  color: #7b7b95;
  font-size: 9.5px;
  font-weight: 600;
}

.kpi-value {
  margin-top: 3px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}

.kpi-delta {
  color: #12775f;
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 600;
}

.kpi-delta.flat { color: #7b7b95; }
.kpi-delta.down { color: #b0003f; }

.panel-row {
  gap: 10px;
  grid-template-columns: 1.35fr 1fr;
  align-items: start;
  display: grid;
}

.panel-row.even {
  grid-template-columns: 1fr 1fr;
}

.panel-row.wide-left {
  grid-template-columns: 1.9fr 1fr;
}

.panel {
  background-color: var(--white);
  border: 1px solid #ececf4;
  border-radius: 10px;
  padding: 12px;
}

.panel-head {
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  display: flex;
}

.panel-title {
  font-size: 11.5px;
  font-weight: 700;
}

.panel-note {
  color: #7b7b95;
  font-size: 9.5px;
}

.chart {
  display: block;
  width: 100%;
  height: auto;
}

.dtable {
  border-collapse: collapse;
  width: 100%;
  font-size: 10.5px;
}

.dtable th {
  color: #7b7b95;
  text-align: left;
  border-bottom: 1px solid #ececf4;
  padding-bottom: 6px;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.dtable td {
  border-bottom: 1px solid #f4f4f9;
  padding: 7px 0;
  vertical-align: middle;
}

.dtable tr:last-child td {
  border-bottom: 0;
}

.dtable td:not(:first-child),
.dtable th:not(:first-child) {
  padding-left: 10px;
}

.dtable .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.cell-main {
  gap: 8px;
  align-items: center;
  display: flex;
}

.cell-name {
  font-weight: 700;
  display: block;
}

.cell-sub {
  color: #7b7b95;
  font-size: 9.5px;
  display: block;
}

.avatar.sm {
  width: 22px;
  height: 22px;
  font-size: 9px;
}

.pill {
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 9px;
  font-weight: 700;
  display: inline-block;
  white-space: nowrap;
}

.pill.ok { background-color: #dff2ec; color: #12775f; }
.pill.warn { background-color: #fff0b8; color: #7a6200; }
.pill.info { background-color: #e5e5f6; color: #3232a0; }
.pill.bad { background-color: #ffdde7; color: #b0003f; }
.pill.mute { background-color: #efeff5; color: #6b6b85; }

.legend {
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
  display: flex;
}

.legend span {
  gap: 6px;
  color: #6b6b85;
  align-items: center;
  font-size: 9.5px;
  font-weight: 600;
  display: flex;
}

.legend i {
  border-radius: 3px;
  width: 9px;
  height: 9px;
  display: block;
}

.queue {
  gap: 8px;
  flex-flow: column;
  display: flex;
}

.queue-item {
  gap: 10px;
  background-color: var(--white);
  border: 1px solid #ececf4;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  display: flex;
}

.queue-body {
  gap: 3px;
  flex-flow: column;
  min-width: 0;
  display: flex;
}

.queue-title {
  gap: 8px;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
}

.queue-meta {
  color: #7b7b95;
  font-size: 10px;
}

.queue-actions {
  gap: 6px;
  flex: none;
  align-items: center;
  display: flex;
}

.route {
  gap: 6px;
  align-items: center;
  color: var(--blue);
  font-weight: 600;
  display: inline-flex;
}

.route svg {
  color: var(--green);
  flex: none;
}

.holes {
  border-collapse: collapse;
  width: 100%;
  font-size: 10px;
  text-align: center;
}

.holes th,
.holes td {
  border: 1px solid #ececf4;
  padding: 5px 0;
  font-variant-numeric: tabular-nums;
}

.holes th {
  color: #7b7b95;
  background-color: #f7f7fb;
  font-size: 9px;
  font-weight: 700;
}

.holes td.edited {
  background-color: #fff0b8;
  color: #7a6200;
  font-weight: 700;
}

.holes .row-label {
  color: #7b7b95;
  text-align: left;
  padding-left: 6px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.audit {
  gap: 10px;
  flex-flow: column;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.audit li {
  gap: 9px;
  align-items: flex-start;
  font-size: 10px;
  display: flex;
}

.audit li::before {
  content: "";
  background-color: var(--green);
  border-radius: 100%;
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 4px;
}

.audit li span {
  color: #7b7b95;
  display: block;
}

/* ---------- product pages — responsive ---------- */

@media screen and (max-width: 991px) {
  .feature-row {
    gap: 48px;
    grid-template-columns: 1fr;
  }

  .feature-row + .feature-row {
    margin-top: 80px;
  }

  .feature-row.reverse .feature-media {
    order: 0;
  }

  .feature-block-head {
    gap: 24px;
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }

  .feature-block + .feature-block {
    margin-top: 80px;
  }

  .feature-media {
    order: -1;
  }

  .feature-copy {
    align-items: flex-start;
  }

  .chip-row {
    gap: 8px;
  }
}

@media screen and (max-width: 767px) {
  .scroll-hint {
    display: block;
    margin-top: 0;
  }

  .page-hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section-features {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-features .heading-wrapper {
    margin-bottom: 48px;
  }

  .section-cta {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

@media screen and (max-width: 479px) {
  .page-hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-features {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .feature-row + .feature-row,
  .feature-block + .feature-block {
    margin-top: 64px;
  }

  .chip {
    padding: 7px 13px;
    font-size: 13px;
  }

  .device {
    --screen-width: 232px;
  }
}

/* =========================================================
   Language switcher
   ========================================================= */

.lang-switcher {
  flex: none;
  position: relative;
}

.lang-details {
  position: relative;
}

.lang-current {
  gap: 7px;
  color: var(--blue);
  cursor: pointer;
  background-color: var(--white);
  border: 1px solid #dedeee;
  border-radius: 999px;
  align-items: center;
  padding: 6px 13px;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  display: flex;
  transition: color 0.2s ease, border-color 0.2s ease;
  -webkit-user-select: none;
  user-select: none;
}

/* hide the default disclosure triangle */
.lang-current::-webkit-details-marker {
  display: none;
}

.lang-current::marker {
  content: "";
}

.lang-current svg {
  flex: none;
  display: block;
}

.lang-current:hover,
.lang-details[open] .lang-current {
  color: var(--green);
  border-color: var(--green);
}

.lang-list {
  background-color: var(--white);
  border: 1px solid #e6e6f2;
  border-radius: 12px;
  min-width: 176px;
  max-height: 62vh;
  margin: 0;
  padding: 6px;
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1200;
  overflow-y: auto;
  box-shadow: 0 18px 40px rgba(7, 7, 68, 0.16);
}

.lang-list a {
  color: var(--blue);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  display: block;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang-list a:hover {
  background-color: var(--lavender);
}

.lang-list a.is-current {
  color: var(--green);
  font-weight: 700;
}

.footer-legal-note {
  opacity: 0.66;
  margin-top: 10px;
}

@media screen and (max-width: 991px) {
  .lang-switcher {
    order: 2;
    margin-left: auto;
    margin-right: 14px;
  }
}

@media screen and (max-width: 479px) {
  .lang-current {
    padding: 6px 10px;
    font-size: 13px;
  }

  .lang-switcher {
    margin-right: 10px;
  }
}
