/* Courtet for clubs (/clubs). Shares the install page's palette: cream paper,
   near-black ink, court red, plus the mark's gold for the plan highlight. */
:root {
  color-scheme: light;
  --paper: #F7F2E7;
  --paper-2: #EFE8D8;
  --ink: #1A1A17;
  --ink-2: #4A4740;
  --rule: #BEB9AE;
  --red: #C83A1E;
  --red-ink: #A32E17;
  --gold: #EBB240;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 system-ui, sans-serif; }
main { max-width: 960px; margin: 0 auto; padding: 24px clamp(20px, 5vw, 40px) 48px; }
a { color: var(--red-ink); text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.back, footer a { display: inline-flex; align-items: center; min-height: 44px; }

header { margin: 28px 0 40px; max-width: 680px; }
.mark { display: block; width: 64px; height: 64px; }
.eyebrow { font-weight: 650; font-size: 15px; margin-top: 20px; }
h1 { font-size: clamp(2.4rem, 8vw, 3.7rem); letter-spacing: -0.055em; line-height: 1.05; margin: 12px 0 20px; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -0.035em; line-height: 1.15; margin: 0 0 8px; text-wrap: balance; }
h3 { font-size: 19px; letter-spacing: -0.02em; margin: 0 0 6px; }
p { margin: 12px 0; }
.lede { font-size: 19px; color: var(--ink-2); }

.cta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 24px; }
.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px;
  background: var(--red); color: #fff; border-radius: 8px; font-weight: 650; text-decoration: none;
}
.button:hover { background: var(--red-ink); }

section { border-top: 1px solid var(--rule); padding: 36px 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 32px; margin-top: 24px; }
.features div { min-width: 0; }
.features p { margin: 0; color: var(--ink-2); font-size: 16px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.plan { border: 1px solid var(--rule); border-radius: 12px; padding: 24px; background: var(--paper); min-width: 0; }
.plan.featured { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--gold); }
.plan .price { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 12px 0 4px; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.plan .note { font-size: 15px; color: var(--ink-2); margin: 0 0 16px; }
.plan ul { margin: 0; padding-left: 20px; }
.plan li { margin: 6px 0; font-size: 16px; }
.fine { font-size: 15px; color: var(--ink-2); margin-top: 20px; }

footer { border-top: 1px solid var(--rule); padding-top: 20px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* Plan comparison. The wrapper scrolls on its own so the page never does. */
.compare-wrap { overflow-x: auto; margin-top: 24px; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
.compare th, .compare td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.compare tbody th { font-weight: 500; }
.compare td:last-child { font-weight: 600; }
