
  :root {
    /* FirstServe vendor identity — warm clay (Roland Garros nod), ink, and cream,
       matching lib/theme/first-serve.ts and the product wordmark. */
    --green: #C1592E;        /* brand clay (primary) */
    --green-dark: #93401F;   /* deep clay */
    --green-light: #FBE9DA;  /* clay tint */
    --gold: #A64B24;         /* accent clay (CTAs, highlights) */
    --ink: #1A1715;
    --muted: #7A6A5E;
    --paper: #FDF3E7;        /* brand cream */
    --paper-line: #F0DCC7;
    --ball: #C4643B;         /* wordmark ball terracotta */
    --seam: #FDF3E7;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Avenir Next', 'Avenir', 'Nunito Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.5;
  }
  .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
  section { padding: 64px 0; }
  h2.section {
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ink);
    border-bottom: 3px solid var(--green);
    padding-bottom: 8px;
    margin-bottom: 28px;
    display: inline-block;
  }
  .kicker { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); font-weight: bold; margin-bottom: 8px; }

  /* ---------- Nav ---------- */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #eee;
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
  .wordmark { font-size: 26px; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -0.8px; display: flex; align-items: center; gap: 5px; text-transform: lowercase; }
  .wordmark .serve { color: var(--ball); font-weight: 800; }
  .ball { width: 13px; height: 13px; border-radius: 50%; background: var(--ball); position: relative; overflow: hidden; flex-shrink: 0; }
  .ball::before, .ball::after { content: ""; position: absolute; width: 15px; height: 15px; border: 1.6px solid var(--seam); border-radius: 50%; }
  .ball::before { left: -9px; top: -9px; } .ball::after { right: -9px; bottom: -9px; }
  .ball-lg { width: 26px; height: 26px; }
  .ball-lg::before, .ball-lg::after { width: 30px; height: 30px; border-width: 3px; }
  .ball-lg::before { left: -18px; top: -18px; } .ball-lg::after { right: -18px; bottom: -18px; }
  .nav-links { display: flex; gap: 26px; align-items: center; }
  .nav-links a { color: var(--ink); text-decoration: none; font-size: 14.5px; }
  .nav-links a:hover { color: var(--green); }
  .btn {
    display: inline-block; text-decoration: none; border-radius: 8px; font-weight: bold;
    padding: 11px 22px; font-size: 15px; transition: transform 0.1s ease, box-shadow 0.1s ease;
  }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(15,107,63,0.25); }
  .btn-gold { background: var(--gold); color: #fff; }
  .btn-green { background: var(--green); color: #fff; }
  .btn-ghost { border: 2px solid rgba(255,255,255,0.7); color: #fff; }
  .nav-links .btn { padding: 9px 18px; font-size: 14px; }
  .nav-burger { display: none; }
  .nav-burger-label { display: none; cursor: pointer; font-size: 26px; color: var(--ink); padding: 4px 10px; line-height: 1; user-select: none; }
  @media (max-width: 820px) {
    .nav-burger-label { display: block; }
    .nav-links {
      display: none;
      position: absolute; left: 0; right: 0; top: 64px;
      background: #fff; border-bottom: 1px solid var(--paper-line);
      flex-direction: column; align-items: stretch; gap: 0;
      box-shadow: 0 14px 30px rgba(0,0,0,0.12);
    }
    .nav-links a { padding: 14px 24px; border-top: 1px solid var(--paper-line); font-size: 16px; }
    .nav-links a.active { border-bottom: 0; border-left: 3px solid var(--green); background: var(--green-light); }
    .nav-links .btn { margin: 12px 24px 16px; text-align: center; }
    .nav-burger:checked ~ .nav-links { display: flex; }
    nav { position: sticky; }
    .nav-inner { position: relative; }
  }

  /* ---------- Hero ---------- */
  .hero {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff; position: relative; overflow: hidden;
    padding: 88px 0 96px;
  }
  .hero::after {
    content: ""; position: absolute; right: -140px; top: -140px;
    width: 560px; height: 560px; border: 4px solid rgba(255,255,255,0.10); border-radius: 50%;
  }
  .hero::before {
    content: ""; position: absolute; right: 60px; top: 120px;
    width: 260px; height: 260px; border: 3px solid rgba(255,255,255,0.08); border-radius: 50%;
  }
  .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
  .hero h1 { font-size: 56px; letter-spacing: -1.5px; line-height: 1.08; font-weight: 500; text-transform: lowercase; display: flex; align-items: center; gap: 8px; }
  .hero h1 .serve { color: var(--paper); font-weight: 800; }
  .hero h1 .ball-lg { background: var(--paper); }
  .hero h1 .ball-lg::before, .hero h1 .ball-lg::after { border-color: var(--green); }
  .hero .tagline { font-size: 24px; margin-top: 14px; font-style: italic; opacity: 0.95; }
  .hero .sub { font-size: 16px; margin-top: 18px; max-width: 34em; opacity: 0.85; }
  .hero .ctas { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
  .hero .proof { margin-top: 26px; font-size: 13.5px; opacity: 0.75; letter-spacing: 0.3px; }

  /* CSS product mock */
  .mock {
    background: #fff; color: var(--ink); border-radius: 16px; padding: 18px 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35); max-width: 380px; justify-self: end; width: 100%;
  }
  .mock .m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  .mock .m-club { font-weight: bold; color: var(--green); font-size: 15px; }
  .mock .m-pill { font-size: 10px; background: var(--green-light); color: var(--green); border-radius: 999px; padding: 3px 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; }
  .mock .m-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin: 10px 0 6px; }
  .courts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .court { border-radius: 7px; padding: 8px 4px; text-align: center; font-size: 11px; font-weight: bold; }
  .c-open { background: var(--green-light); color: var(--green); }
  .c-busy { background: #fdf3e3; color: var(--gold); }
  .mock .m-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 7px 0; border-bottom: 1px solid #f0f0ec; }
  .mock .m-row:last-child { border-bottom: 0; }
  .mock .m-row .t { color: var(--gold); font-weight: bold; }
  @media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; }
    .mock { justify-self: start; }
    .hero h1 { font-size: 40px; }
  }

  /* ---------- Pain ---------- */
  .pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pain-card {
    background: var(--paper); border: 1px solid var(--paper-line); border-radius: 12px;
    padding: 20px 22px; font-size: 14.5px; color: var(--muted);
  }
  .pain-card b { display: block; color: var(--gold); font-size: 16.5px; margin-bottom: 6px; }
  @media (max-width: 760px) { .pain-grid { grid-template-columns: 1fr; } }

  /* ---------- Features ---------- */
  .features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .feature { background: var(--green-light); border-radius: 12px; padding: 20px 22px; }
  .feature .icon { font-size: 26px; }
  .feature b { display: block; font-size: 17px; color: var(--green); margin: 8px 0 4px; }
  .feature p { font-size: 13.5px; color: var(--muted); }
  @media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
  .chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
  .chip {
    font-size: 12.5px; border: 1px solid var(--paper-line); background: var(--paper);
    color: var(--muted); border-radius: 999px; padding: 6px 14px;
  }
  .chips-label { width: 100%; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); font-weight: bold; }

  /* ---------- Compare ---------- */
  .compare { background: var(--paper); }
  .tbl-scroll { overflow-x: auto; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; min-width: 640px; }
  th, td { padding: 11px 16px; text-align: center; border-bottom: 1px solid #e9e9e5; }
  th { background: var(--green); color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.8px; }
  td:first-child, th:first-child { text-align: left; }
  .yes { color: var(--green); font-weight: bold; }
  .no { color: #b3b3b3; }
  tr:nth-child(even) td { background: #fafaf8; }
  .tbl-note { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 56em; }

  /* ---------- Stats ---------- */
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .stat { text-align: center; background: #fff; border: 2px solid var(--green-light); border-radius: 12px; padding: 24px 12px; }
  .stat .n { font-size: 40px; font-weight: bold; color: var(--green); line-height: 1; }
  .stat .l { font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); margin-top: 10px; }
  @media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

  /* ---------- Steps ---------- */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
  .step { background: #fff; border: 1px solid var(--paper-line); border-radius: 12px; padding: 22px; position: relative; }
  .step::before {
    counter-increment: step; content: counter(step);
    display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
    background: var(--gold); color: #fff; font-weight: bold; font-size: 17px;
    align-items: center; justify-content: center; margin-bottom: 12px;
  }
  .step b { display: block; color: var(--green); font-size: 17px; margin-bottom: 4px; }
  .step p { font-size: 13.5px; color: var(--muted); }
  @media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

  /* ---------- Founding ---------- */
  .founding {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff; border-radius: 18px; padding: 44px 48px; position: relative; overflow: hidden;
  }
  .founding::after {
    content: ""; position: absolute; right: -60px; bottom: -80px;
    width: 300px; height: 300px; border: 3px solid rgba(255,255,255,0.12); border-radius: 50%;
  }
  .founding .kicker { color: var(--gold); }
  .founding h3 { font-size: 28px; margin-bottom: 10px; }
  .founding p { max-width: 40em; opacity: 0.88; font-size: 15.5px; }
  .founding .btn { margin-top: 22px; }
  @media (max-width: 620px) { .founding { padding: 32px 24px; } }

  /* ---------- FAQ ---------- */
  details { border-bottom: 1px solid var(--paper-line); padding: 16px 4px; }
  summary { cursor: pointer; font-weight: bold; font-size: 16.5px; color: var(--green); list-style: none; display: flex; justify-content: space-between; align-items: center; }
  summary::after { content: "+"; color: var(--gold); font-size: 22px; font-weight: bold; }
  details[open] summary::after { content: "–"; }
  details p { margin-top: 10px; color: var(--muted); font-size: 14.5px; max-width: 60em; }

  /* ---------- Footer ---------- */
  footer { background: var(--green-dark); color: #fff; padding: 56px 0 40px; margin-top: 24px; }
  .foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 34px; margin-bottom: 26px; }
  .foot-cta .big { font-size: 26px; font-weight: bold; }
  .foot-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; opacity: 0.75; }
  footer a { color: #fff; }

  .nav-links a.active { color: var(--green); font-weight: bold; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
  .page-hero {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff; position: relative; overflow: hidden; padding: 56px 0;
  }
  .page-hero::after {
    content: ""; position: absolute; right: -120px; top: -160px;
    width: 420px; height: 420px; border: 4px solid rgba(255,255,255,0.10); border-radius: 50%;
  }
  .page-hero h1 { font-size: 38px; letter-spacing: -0.5px; position: relative; z-index: 1; }
  .page-hero p { margin-top: 10px; max-width: 44em; opacity: 0.88; font-size: 16px; position: relative; z-index: 1; }
  .module { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--paper-line); }
  .module .icon { font-size: 34px; }
  .module h3 { color: var(--green); font-size: 20px; margin-bottom: 6px; }
  .module p { color: var(--muted); font-size: 15px; max-width: 62em; }
  .module ul { margin: 10px 0 0 18px; color: var(--muted); font-size: 14px; }
  .module li { margin-bottom: 4px; }
  .teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .teaser { background: #fff; border: 1px solid var(--paper-line); border-radius: 12px; padding: 22px; text-decoration: none; display: block; transition: transform .1s ease, box-shadow .1s ease; }
  .teaser:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15,107,63,0.12); }
  .teaser b { color: var(--green); font-size: 17px; display: block; margin-bottom: 6px; }
  .teaser p { color: var(--muted); font-size: 13.5px; }
  .teaser .go { color: var(--gold); font-weight: bold; font-size: 13px; margin-top: 10px; display: block; }
  @media (max-width: 760px) { .teasers { grid-template-columns: 1fr; } .module { grid-template-columns: 1fr; } }
