@font-face {
  font-family: "Cal Sans";
  src: url("/assets/fonts/CalSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #fffceb;
  --surface: #ffffff;
  --surface-soft: #f7f5e8;
  --text: #1f1f1f;
  --muted: #68685f;
  --line: rgba(31, 31, 31, 0.12);
  --tennis: #c1db00;
  --tennis-dark: #a9bf00;
  --dark: #1e3b29;
  --secondary: #ddb9ff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 18px 50px rgba(31, 31, 31, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Cal Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header {
  width: 100%;
  padding: 22px 24px;
}

.nav {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  width: 168px;
  height: 44px;
  overflow: hidden;
  background: url("/assets/branding/tennis-now-logo.png") center / cover no-repeat;
  text-decoration: none;
}

.brand > * {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 400;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: 670px;
  margin: 30px auto 0;
  padding: 76px 70px;
  border-radius: 36px;
  background: var(--dark);
  color: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -70px;
  top: -55px;
  border-radius: 50%;
  background: var(--tennis);
  opacity: 0.96;
}

.hero::before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  right: 225px;
  bottom: -150px;
  border-radius: 50%;
  border: 2px solid rgba(213, 230, 87, 0.42);
}

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

.hero-content::before {
  content: "";
  display: block;
  width: 178px;
  height: 46px;
  margin-bottom: 28px;
  background: url("/assets/branding/tennis-now-logo-negative.png") center / cover no-repeat;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(54px, 7.4vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: var(--tennis);
}

.hero-copy {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
}

.button-primary {
  background: var(--tennis);
  color: var(--text);
}

.button-primary:hover {
  background: #deed6c;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--bg);
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 100px auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-intro {
  margin: 18px 0 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

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

.card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.63);
}

.card-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--tennis);
  font-size: 14px;
  font-weight: 400;
}

.card h3 {
  margin: 54px 0 10px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.community {
  padding: 54px;
  border-radius: 32px;
  background: var(--tennis);
}

.community h2 {
  max-width: 760px;
}

.community p {
  max-width: 650px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.legal-page {
  width: min(calc(100% - 48px), 820px);
  margin: 56px auto 110px;
}

.legal-page h1 {
  margin: 0 0 12px;
  font-size: clamp(42px, 7vw, 66px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-updated {
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.legal-page h2 {
  margin: 42px 0 14px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.legal-page h3 {
  margin: 28px 0 10px;
  font-size: 19px;
}

.legal-page p,
.legal-page li {
  color: #3e3e38;
  font-size: 16px;
  line-height: 1.72;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
}

.legal-page a {
  text-underline-offset: 3px;
}

.legal-note {
  margin: 30px 0;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.site-footer {
  margin-top: 110px;
  background: var(--dark);
  color: var(--bg);
}

.footer-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 54px 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 42px;
}

.footer-title {
  max-width: 390px;
  margin: 0;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--bg);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

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

  .hero {
    min-height: 610px;
    padding: 54px 28px;
  }

  .hero::after {
    width: 250px;
    height: 250px;
    right: -100px;
    top: -60px;
  }

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

  .community {
    padding: 34px 26px;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 18px;
  }

  .hero,
  .section,
  .footer-inner,
  .legal-page {
    width: calc(100% - 32px);
  }

  .hero {
    margin-top: 12px;
    padding: 46px 24px;
    border-radius: 28px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .section {
    margin-top: 76px;
    margin-bottom: 76px;
  }

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


/* SEO FAQ */

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

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

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.faq-item p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .faq-list {
    grid-template-columns: 1fr;
  }
}
