@font-face {
  font-family: "Lexend";
  src: url("/fonts/lexend-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: "Material Symbols Outlined";
  src: url("/fonts/material-symbols-outlined.woff2") format("woff2");
  font-display: block;
  font-style: normal;
  font-weight: 100 700;
}

:root {
  --ink: #071c1c;
  --ink-soft: #123332;
  --muted: #526766;
  --paper: #f3f7f4;
  --surface: #ffffff;
  --line: #d8e4df;
  --lime: #b8ff3d;
  --lime-dark: #6fa80a;
  --blue: #27d7ff;
  --blue-dark: #08798f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 28, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Lexend", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  font-style: normal;
  font-variation-settings: "FILL" 0, "wght" 550, "GRAD" 0, "opsz" 24;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 16px;
  right: 16px;
  left: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(7, 28, 28, 0.82);
  box-shadow: 0 10px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 750;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(184, 255, 61, 0.2);
}

.button-primary:hover {
  background: #c7ff62;
  box-shadow: 0 16px 38px rgba(184, 255, 61, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.15);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--ink-soft);
}

.hero {
  position: relative;
  display: flex;
  min-height: 780px;
  align-items: center;
  overflow: hidden;
  padding: 132px 0 80px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 19, 19, 0.98) 0%, rgba(5, 19, 19, 0.9) 34%, rgba(5, 19, 19, 0.5) 62%, rgba(5, 19, 19, 0.15) 100%),
    url("/assets/bepadel/hero-courts.webp") 58% center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: -10%;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(184, 255, 61, 0.14);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 710px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: #e8ffc2;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(184, 255, 61, 0.16);
}

h1 {
  max-width: 690px;
  font-size: clamp(48px, 7.2vw, 88px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero-copy {
  max-width: 610px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.visual-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.quick-facts {
  position: relative;
  z-index: 3;
  margin-top: -44px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.fact {
  padding: 26px 28px;
}

.fact + .fact {
  border-left: 1px solid var(--line);
}

.fact-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact-value {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section {
  padding: 104px 0;
}

.section-tight {
  padding-top: 82px;
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 75% 20%, rgba(39, 215, 255, 0.14), transparent 34%),
    var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 52px;
  margin-bottom: 46px;
}

.kicker {
  margin-bottom: 13px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-dark .kicker {
  color: var(--blue);
}

h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-lede {
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-lede {
  color: rgba(255, 255, 255, 0.67);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.photo-panel {
  position: relative;
  min-height: 560px;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(7, 28, 28, 0.84);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  backdrop-filter: blur(10px);
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  padding: 44px;
}

.story-copy h3,
.feature h3,
.faq-item h3 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.story-copy p,
.feature p,
.faq-item p {
  margin-top: 12px;
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 14px;
}

.mini-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
}

.mini-item .material-symbols-outlined {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: rgba(184, 255, 61, 0.24);
  color: #385b00;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.feature:hover {
  border-color: #b8cfc7;
  box-shadow: 0 18px 46px rgba(7, 28, 28, 0.08);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--lime);
}

.app-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 72px;
}

.app-preview {
  position: relative;
  min-height: 560px;
}

.app-preview::before {
  position: absolute;
  inset: 44px 20px 20px 0;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(184, 255, 61, 0.2), rgba(39, 215, 255, 0.1)),
    rgba(255, 255, 255, 0.05);
  content: "";
}

.phone {
  position: absolute;
  z-index: 2;
  width: min(330px, 75%);
  overflow: hidden;
  border: 9px solid #030d0d;
  border-radius: 42px;
  background: #f4f7f5;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.35);
}

.phone:first-child {
  top: 0;
  right: 12%;
  transform: rotate(2deg);
}

.phone:last-child {
  bottom: 0;
  left: 0;
  width: min(292px, 66%);
  transform: rotate(-3deg);
}

.phone-top {
  height: 26px;
  background: #030d0d;
}

.phone-screen {
  padding: 22px 18px 24px;
  color: var(--ink);
}

.phone-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 900;
}

.phone-brand img {
  width: 34px;
  height: 34px;
}

.phone-title {
  margin-top: 28px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.phone-subtitle {
  margin-top: 5px;
  color: #647574;
  font-size: 11px;
}

.phone-card {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid #dbe6e2;
  border-radius: 17px;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(7, 28, 28, 0.06);
}

.phone-card-label {
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-card strong {
  display: block;
  margin-top: 7px;
  font-size: 13px;
}

.phone-card p {
  margin-top: 5px;
  color: #647574;
  font-size: 10px;
}

.phone-pill {
  display: inline-flex;
  margin-top: 11px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 9px;
  font-weight: 900;
}

.app-copy h2 {
  max-width: 630px;
}

.app-points {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.app-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.app-point .material-symbols-outlined {
  color: var(--lime);
}

.app-point strong {
  display: block;
  color: var(--white);
}

.app-point span:last-child {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.prototype-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 9px 12px;
  border: 1px solid rgba(39, 215, 255, 0.3);
  border-radius: 999px;
  background: rgba(39, 215, 255, 0.08);
  color: #b9f4ff;
  font-size: 12px;
  font-weight: 750;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.cta-card {
  display: grid;
  grid-template-columns: 1.3fr auto;
  align-items: center;
  gap: 36px;
  padding: 52px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 20%, rgba(39, 215, 255, 0.26), transparent 34%),
    var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  font-size: clamp(32px, 4vw, 50px);
}

.cta-card p {
  max-width: 650px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.footer {
  padding: 34px 0;
  background: #041313;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--lime);
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: 760px;
    background:
      linear-gradient(180deg, rgba(5, 19, 19, 0.62) 0%, rgba(5, 19, 19, 0.94) 70%, rgba(5, 19, 19, 0.98) 100%),
      url("/assets/bepadel/hero-courts.webp") 58% center / cover no-repeat;
  }

  .section-head,
  .story-grid,
  .app-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-copy {
    padding: 34px;
  }

  .app-preview {
    width: min(620px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 32px, 1160px);
  }

  .topbar {
    top: 10px;
    right: 10px;
    left: 10px;
    border-radius: 15px;
  }

  .topbar-inner {
    min-height: 60px;
  }

  .brand span {
    display: none;
  }

  .topbar .button {
    min-height: 40px;
    padding: 0 13px;
    font-size: 12px;
  }

  .hero {
    min-height: 720px;
    padding: 112px 0 68px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .quick-facts {
    margin-top: -28px;
  }

  .facts-grid,
  .feature-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .fact {
    padding: 20px 22px;
  }

  .fact + .fact {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 74px 0;
  }

  .section-head {
    gap: 22px;
    margin-bottom: 32px;
  }

  .photo-panel,
  .photo-panel img {
    min-height: 410px;
  }

  .story-copy,
  .feature,
  .faq-item {
    padding: 24px;
  }

  .app-preview {
    min-height: 450px;
  }

  .phone:first-child {
    right: 2%;
  }

  .phone:last-child {
    left: 0;
  }

  .cta-card {
    padding: 32px 24px;
  }

  .cta-card .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .button,
  .feature,
  .footer-links a,
  .nav a {
    transition: none;
  }

  .phone:first-child,
  .phone:last-child {
    transform: none;
  }
}
