/* marzv.com: brand colours from brand/README.md (court blue, white, ball yellow). */
:root {
  --court: #1546C8;
  --court-deep: #0F379F;
  --ball: #E4FF1A;
  --bg: #F6F7F4;
  --surface: #FFFFFF;
  --fg: #15181D;
  --muted: #5B616A;
  --line: #DCDFD8;
  --link: #1546C8;
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  /* One colour per sport, behind its illustration. */
  --tennis: #1546C8;
  --padel: #0D8068;
  --table-tennis: #1B2B4A;
  --squash: #D2602A;
  --badminton: #5A3DBF;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --surface: #181B20;
    --fg: #ECEDEA;
    --muted: #9CA2AA;
    --line: #2B2F36;
    --link: #93B2FF;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 var(--font);
}
a { color: var(--link); text-underline-offset: 3px; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none;
  font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: inherit; text-decoration: none; opacity: .85; }
.top nav a:hover { opacity: 1; text-decoration: underline; }

/* Home: hero on court blue, with the court illustration */
.hero { background: radial-gradient(120% 90% at 85% 40%, #2A5FE6 0%, var(--court) 55%, var(--court-deep) 100%); color: #fff; overflow: hidden; }
.hero .top nav a { color: #fff; }
.hero-body { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: center; padding: 32px 20px 72px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 20px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--ball); }
.hero p.lead { font-size: 20px; max-width: 34ch; margin: 0 0 28px; color: #DCE5FF; }
.hero-art { width: 100%; max-width: 560px; justify-self: end; filter: drop-shadow(0 30px 40px rgba(4, 16, 60, .35)); }
.badge { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 5px 12px; margin-bottom: 18px; }
.btn { display: inline-block; background: var(--ball); color: #10131A; font-weight: 700; text-decoration: none;
  padding: 14px 24px; border-radius: 12px; }
.btn:hover { filter: brightness(.95); }
.btn-ghost { display: inline-block; color: #fff; font-weight: 700; text-decoration: none; padding: 14px 8px; margin-left: 8px; }
.btn-ghost:hover { text-decoration: underline; }

/* Home: three facts under the hero */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: -40px; position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 30px rgba(10, 20, 50, .10); }
.fact { padding: 22px 26px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font-size: 28px; letter-spacing: -.03em; line-height: 1.15; }
.fact span { color: var(--muted); font-size: 15px; }

/* Home: sections */
section { padding: 80px 0; }
section h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.03em; line-height: 1.12; margin: 0 0 12px; }
section .sub { color: var(--muted); max-width: 60ch; margin: 0 0 36px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.card h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: var(--court); color: #fff; }
.ico svg { width: 28px; height: 28px; }
.step { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feats { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.feats li { display: flex; gap: 16px; align-items: flex-start; }
.feats .ico { flex: none; width: 44px; height: 44px; margin: 0; border-radius: 12px; background: var(--ball); color: #10131A; }
.feats .ico svg { width: 24px; height: 24px; }
.feats strong { display: block; font-size: 18px; }
.feats span { color: var(--muted); }

/* Home: for clubs, a dark panel */
.clubs { background: #0B1220; color: #fff; border-radius: 28px; padding: 48px; display: grid;
  grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.clubs h2 { margin-bottom: 12px; }
.clubs p { color: #B7C0D0; margin: 0 0 24px; max-width: 52ch; }
.clubs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.clubs li { padding-left: 28px; position: relative; }
.clubs li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--ball); }

/* Sports: big illustrated tiles */
.sport-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.sport { --c: var(--court); position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  grid-column: span 2; min-height: 250px; padding: 22px; border-radius: 22px; background: var(--c); color: #fff;
  text-decoration: none; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.sport.live { grid-column: span 3; min-height: 320px; padding: 28px; }
.sport:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(10, 20, 50, .22); }
.sport img { position: absolute; right: -6px; top: -6px; width: 62%; max-width: 230px; }
.sport.live img { width: 56%; max-width: 300px; right: 8px; top: 8px; }
.sport strong { position: relative; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.sport.live strong { font-size: 44px; letter-spacing: -.035em; }
.sport:not(.live) { filter: saturate(.25) brightness(.9); opacity: .7; }
.sport:not(.live):hover { opacity: .85; }
.sport span { position: relative; font-size: 15px; color: rgba(255, 255, 255, .82); }
.sport .pill { position: relative; align-self: flex-start; margin-top: 12px; font-size: 14px; font-weight: 700; color: #10131A;
  background: var(--ball); border-radius: 999px; padding: 6px 14px; }
.sport .soon { position: absolute; left: 22px; top: 22px; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; background: rgba(255, 255, 255, .18); border-radius: 999px; padding: 4px 10px; color: #fff; z-index: 1; }
.s-tennis { --c: var(--tennis); }
.s-padel { --c: var(--padel); }
.s-table-tennis { --c: var(--table-tennis); }
.s-squash { --c: var(--squash); }
.s-badminton { --c: var(--badminton); }

/* Sport page: coloured banner with the illustration */
.sport-hero { background: var(--c); color: #fff; overflow: hidden; }
.sport-hero .top nav a { color: #fff; }
.sport-hero-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; padding: 8px 20px 48px; }
.sport-hero h1 { font-size: clamp(44px, 7vw, 76px); letter-spacing: -.045em; line-height: 1; margin: 18px 0 14px; }
.sport-hero p { color: rgba(255, 255, 255, .86); font-size: 19px; max-width: 36ch; margin: 0 0 24px; }
.sport-hero-body img { width: min(340px, 100%); justify-self: center; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .25)); }
.sport-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.sport-switch a { border-radius: 999px; padding: 6px 14px; font-size: 15px; color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, .14); }
.sport-switch a:hover { background: rgba(255, 255, 255, .24); }
.sport-switch a[aria-current] { background: #fff; color: var(--c); font-weight: 700; }

/* Sport page: prices */
.prices { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.price.main { background: var(--c); border-color: var(--c); color: #fff; }
.price .label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.price.main .label { color: rgba(255, 255, 255, .75); }
.price .big { display: block; font-size: clamp(48px, 6vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 14px 0 6px; }
.price .big small { font-size: .38em; letter-spacing: 0; font-weight: 700; color: var(--ball); }
.price .mid { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 14px 0 8px; }
.price p { margin: 0; color: var(--muted); font-size: 16px; }
.price.main p { color: rgba(255, 255, 255, .85); }
.price.main .plus { display: inline-block; margin-top: 14px; background: rgba(0, 0, 0, .18); border-radius: 999px;
  padding: 6px 14px; color: #fff; font-weight: 700; font-size: 15px; }
.fine { color: var(--muted); max-width: 70ch; margin: 28px 0 0; }

/* Text pages (privacy, delete account, refund, legal) */
.doc { max-width: 720px; padding: 24px 20px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin: 16px 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -.015em; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 8px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 700; }
.note { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--court);
  border-radius: 10px; padding: 16px 18px; margin: 20px 0; }
.doc-top { border-bottom: 1px solid var(--line); background: var(--surface); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: inherit; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero-body, .sport-hero-body { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; }
  .sport-hero-body img { width: 200px; order: -1; justify-self: start; margin-top: 8px; }
  .sport-hero h1 { margin-top: 8px; }
  .cards, .split, .prices, .clubs { grid-template-columns: 1fr; }
  .sport-grid { grid-template-columns: 1fr 1fr; }
  .sport, .sport.live { grid-column: span 1; min-height: 210px; padding: 18px; }
  .sport.live { grid-column: span 2; min-height: 240px; }
  .sport.live strong { font-size: 36px; }
  .sport strong { font-size: 21px; }
  .sport .soon { left: 18px; top: 18px; }
  .sport:not(.live) img { width: 64%; top: 34px; right: -4px; }
}
@media (max-width: 760px) {
  .hero-body { padding: 16px 16px 60px; gap: 8px; }
  .facts { grid-template-columns: 1fr; margin-top: -24px; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact { padding: 16px 20px; }
  section { padding: 56px 0; }
  .clubs { padding: 28px 22px; border-radius: 22px; }
  .top nav { gap: 14px; }
  .top nav .hide-sm { display: none; }
  .wrap { padding: 0 16px; }
  .doc { padding: 16px 16px 56px; }
  .sport-hero-body { padding: 0 16px 36px; }
}
