@font-face {
  font-family: "Instrument Sans";
  src: url("./instrument-sans.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("./instrument-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Bebas Neue";
  src: url("./bebas-neue.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --app-base: #f0f0ee;
  --app-paper: #fff;
  --app-ink: #000;
  --app-muted: #4e5a52;
  --app-green: #005843;
  --app-deep: #212121;
  --app-court: #184934;
  --app-black: #000;
  --app-lime: #95ff57;
  --app-lime-start: #bded07;
  --app-lime-tint: #95ff5714;
  --app-border: #e0e0e0;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--app-base);
  color: var(--app-ink);
  font: 400 1rem/1.58 "Instrument Sans", system-ui, sans-serif;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2 {
  font: 400 3rem/1 var(--display);
  letter-spacing: .012em;
}
h3 { line-height: 1.2; }
a { color: var(--app-green); text-underline-offset: .2em; }
button { font: inherit; }
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible { outline: .2rem solid #116040; outline-offset: .22rem; }
.brand-hero a:focus-visible, .brand-availability a:focus-visible, .brand-footer a:focus-visible { outline-color: var(--app-lime); }

.brand-wrap { width: min(calc(100% - 3rem), 74rem); margin-inline: auto; }
.brand-skip {
  position: fixed;
  inset: .5rem auto auto .5rem;
  z-index: 30;
  padding: .65rem 1rem;
  background: white;
  transform: translateY(-160%);
}
.brand-skip:focus { transform: translateY(0); }

.brand-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--app-border); }
.brand-nav { display: flex; align-items: center; justify-content: space-between; min-height: 4.9rem; gap: 1.4rem; }
.brand-home { display: inline-flex; flex: none; }
.brand-home img { width: 5.5rem; height: auto; }
.brand-menu { display: flex; align-items: center; gap: clamp(1rem, 2.65vw, 2.6rem); }
.brand-menu a { color: var(--app-ink); font-weight: 700; font-size: .94rem; text-decoration: none; }
.brand-menu a:hover, .brand-menu a[aria-current] { text-decoration: underline; }
.brand-menu a.brand-nav-support { border: 1px solid var(--app-ink); border-radius: 100px; padding: .52rem 1.2rem; }
.brand-menu-toggle {
  display: none;
  border: 1px solid var(--app-border);
  color: var(--app-ink);
  background: #fff;
  padding: .65rem;
  border-radius: .55rem;
}
.brand-menu-toggle span { display: block; height: 2px; width: 21px; margin-block: 4px; background: currentColor; }

.brand-hero { color: var(--app-paper); background: linear-gradient(to bottom, var(--app-green), var(--app-black)); }
.brand-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  padding-block: clamp(3rem, 7vw, 6.3rem);
}
.brand-hero h1 { font-size: clamp(3.55rem, 6.65vw, 6.45rem); line-height: .96; }
.brand-hero h1 span { display: block; color: var(--app-lime); }
.brand-hero p { max-width: 29rem; margin-top: 1.25rem; font-size: clamp(1rem, 1.8vw, 1.22rem); color: #f1faf4; }
.brand-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.brand-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  border: 1px solid transparent;
  border-radius: .8rem;
  padding: .63rem 1.12rem;
  text-decoration: none;
  font-weight: 700;
}
.brand-button-primary { background: linear-gradient(to right, var(--app-lime-start), var(--app-lime)); color: var(--app-black); }
.brand-button-primary:hover { box-shadow: 0 0 0 2px var(--app-lime); }
.brand-button-outline { color: #fff; border-color: #b7d8ca; }
.brand-button-outline:hover { background: #ffffff17; }

.brand-court {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  aspect-ratio: 1.08;
  overflow: hidden;
  border: 1px solid #7db19a;
  border-radius: 1.5rem;
  background: var(--app-court);
}
.brand-court::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7.5%;
  border: 1px solid #97bdab90;
  border-radius: .2rem;
  background:
    linear-gradient(to right, transparent calc(50% - 1px), #97bdab90 50%, transparent calc(50% + 1px)),
    linear-gradient(to bottom, transparent calc(50% - 1px), #97bdab90 50%, transparent calc(50% + 1px));
}
.court-player { position: absolute; height: 92%; width: auto; object-fit: contain; right: 3%; bottom: 1%; }
.court-phone {
  position: absolute;
  top: 9%;
  left: 11%;
  width: 38%;
  max-width: 12rem;
  border-radius: clamp(.8rem, 2vw, 1.5rem);
  padding: .35rem;
  background: var(--app-black);
  box-shadow: 0 .8rem 1.8rem #061b14a0;
  transform: rotate(-5deg);
}
.court-phone img { width: 100%; height: auto; border-radius: calc(clamp(.8rem, 2vw, 1.5rem) - .22rem); }

.brand-section { padding-block: clamp(3rem, 6vw, 5.75rem); }
.brand-section h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.app-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 1.45rem; }
.app-feature { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--app-border); border-radius: 1rem; }
.app-feature-copy { flex: 1; padding: 1.4rem 1.5rem 1.25rem; }
.app-feature-icon { width: 2.55rem; height: 2.55rem; object-fit: contain; padding: .48rem; margin-bottom: .72rem; background: var(--app-lime-tint); border-radius: .64rem; }
.app-feature h3 { margin-bottom: .45rem; font-size: clamp(1.1rem, 1.8vw, 1.32rem); }
.app-feature p, .brand-community p { color: var(--app-muted); }
.app-feature-screen { display: grid; height: 13.5rem; justify-items: center; overflow: hidden; padding: 1rem 1rem 0; background: #e5eee5; }
.app-feature-screen img { width: min(100%, 12rem); height: auto; border: 4px solid var(--app-ink); border-radius: .95rem; }

#community { padding-top: 0; }
.brand-community { padding: clamp(1.6rem, 5vw, 3.5rem); border: 1px solid #c6d7c8; border-radius: 1.1rem; background: #e6f0e5; }
.brand-community p { max-width: 40rem; margin-top: .55rem; font-size: 1.08rem; }
.brand-availability { color: #fff; background: var(--app-deep); padding-block: clamp(2.8rem, 5.2vw, 4.5rem); }
.brand-availability-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(6.75rem, 14rem); gap: 1rem; align-items: center; }
.brand-availability p { margin: .5rem 0 1.25rem; color: #f1faf4; }
.brand-availability img { width: min(100%, 9.6rem); height: auto; justify-self: center; }

.brand-page-intro { background: var(--app-deep); color: #fff; padding-block: clamp(3rem, 7vw, 6rem); }
.brand-page-intro h1 { font-size: clamp(3.05rem, 6vw, 5.3rem); }
.brand-page-intro p { max-width: 44rem; margin-top: .65rem; color: #eff6f1; font-size: 1.12rem; }
.brand-page-intro a { color: var(--app-lime); }
.brand-reading { max-width: 74rem; }
.brand-reading > :is(p, ul, h2, h3) { max-width: 46rem; }
.brand-reading p { margin-top: .8rem; }
.brand-reading h2:not(:first-child) { margin-top: 2rem; }
.brand-reading h3 { margin-top: 1.2rem; }
.privacy-content h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); }

.brand-footer { background: var(--app-black); color: var(--app-paper); }
.brand-footer-main { min-height: 7.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.brand-footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.4rem; }
.brand-footer-links a { color: var(--app-paper); text-decoration: none; font-size: .94rem; }
.brand-footer-links a:hover { text-decoration: underline; }
.brand-copyright { color: #ccc; border-top: 1px solid #526259; padding: 1rem 0 1.25rem; font-size: .86rem; }

@media (max-width: 840px) {
  .brand-hero-grid { gap: 2.5rem; }
  .brand-hero h1 { font-size: clamp(3.2rem, 8.1vw, 5.1rem); }
}

@media (max-width: 660px) {
  html { scroll-padding-top: 5rem; }
  .brand-wrap { width: calc(100% - 2rem); }
  .brand-nav { min-height: 4.2rem; }
  .brand-home img { width: 4.5rem; }
  .brand-menu-toggle { display: block; }
  .brand-menu {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    max-height: calc(100dvh - 4.2rem);
    overflow-y: auto;
    padding: .65rem 1rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--app-border);
  }
  .brand-menu.show { display: grid; gap: .25rem; }
  .brand-menu a { padding: .65rem .5rem; }
  .brand-menu a.brand-nav-support { justify-self: start; margin: .25rem .5rem; }
  .brand-hero-grid { grid-template-columns: 1fr; padding-block: 2.6rem; gap: 2rem; }
  .brand-court { max-width: 30rem; }
  .app-feature-grid { grid-template-columns: 1fr; }
  .app-feature { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
  .app-feature-copy { padding: 1rem .9rem 1rem 1rem; }
  .app-feature-screen { height: auto; max-height: 15rem; align-items: start; padding: .7rem .45rem 0; }
  .app-feature-screen img { border-width: 3px; }
  .brand-footer-main { align-items: flex-start; flex-direction: column; padding-block: 1.4rem; }
}
