/* The home page. */

.home-hero { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 56px 48px; }
.home-hero > * { flex: 1 1 440px; min-width: 0; }
.home-hero h1 { font-size: clamp(40px, 5.2vw, 60px); font-weight: 800; line-height: 1.08; }
.home-hero-lede { margin-top: 24px; max-width: 560px; font-size: 19px; color: var(--on-navy-body); }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.home-hero-note { margin-top: 22px; font-size: 15px; color: var(--on-navy-muted); }
.home-hero-note a { color: var(--on-navy); font-weight: 700; }
.home-hero-note a:hover { color: var(--accent); }

.home-hero-visual { position: relative; }
.home-hero-visual .club-preview { rotate: 1.5deg; }
.home-hero-sticker { position: absolute; top: -18px; left: -14px; }
@media (max-width: 640px) { .home-hero-sticker { left: 8px; top: -22px; } .home-hero-visual .club-preview { rotate: none; } }

/* The example club site. Its colours are the club's (the default theme's), not ours. */
.club-preview {
  --club-green: #2f7d4f; --club-sky: #2b6cb0;
  margin: 0; background: var(--surface); color: var(--text); border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 60px rgb(4 10 22 / 0.45);
}
.club-preview-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--surface-tint); }
.club-preview-bar > span:not(.club-preview-address) { width: 11px; height: 11px; border-radius: 50%; background: #c6d1e1; }
.club-preview-address { flex: 1; margin-left: 12px; padding: 4px 10px; border-radius: 5px; background: var(--surface); font-size: 12px; color: var(--text-muted); }
.club-preview-hero { padding: 24px 26px 28px; background: var(--club-green); color: #fff; }
.club-preview-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.club-preview-name { font-family: "Archivo Narrow", "Arial Narrow", sans-serif; font-size: 18px; letter-spacing: 0.04em; }
.club-preview-links { opacity: 0.9; }
.club-preview-kicker { margin-top: 24px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }
.club-preview-match { margin-top: 6px; font-family: "Archivo Narrow", "Arial Narrow", sans-serif; font-weight: 700; font-size: clamp(24px, 3vw, 34px); line-height: 1.05; text-transform: uppercase; }
.club-preview-button { display: inline-block; margin-top: 16px; padding: 9px 14px; border-radius: 5px; background: #fff; color: var(--club-green); font-weight: 700; font-size: 13px; }
.club-preview-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px 22px 22px; }
.club-preview-tiles div { padding: 12px; border-radius: 6px; }
.club-preview-tiles p:first-child { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.club-preview-tiles p:last-child { margin-top: 4px; font-size: 14px; font-weight: 700; }
.club-preview-tiles .is-result { background: #eef6f0; } .is-result p:first-child { color: var(--club-green); }
.club-preview-tiles .is-training { background: #eef4fb; } .is-training p:first-child { color: var(--club-sky); }
.club-preview-tiles .is-news { background: var(--violet-soft); } .is-news p:first-child { color: var(--violet); }

.home-split { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; }
.home-split > * { flex: 1 1 420px; min-width: 0; }
.home-split-title { font-size: clamp(28px, 3.6vw, 38px); }
.home-split-body { font-size: 18px; color: var(--text-body); }
.home-split-title + .home-split-body { margin-top: 22px; }
.home-split-body + .text-link { margin-top: 12px; }

/* Everything else: a row of smaller features under the spotlights. */
.home-more-title { margin: 96px 0 28px; font-size: clamp(24px, 3vw, 30px); text-align: center; }
.home-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.home-feature { display: flex; flex-direction: column; }
.home-feature h3 { margin: 18px 0 8px; }
.home-feature p { color: var(--text-muted); }

/* Privacy: the promise and its drawing on one side, the specifics on the other. */
.home-privacy-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.home-privacy-cols .home-split-body { margin-top: 22px; }
.home-privacy .spot-art { margin-top: 40px; }
.home-privacy-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.home-privacy-points li { display: flex; gap: 16px; align-items: flex-start; }
.home-privacy-points .chip-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; }
.home-privacy-points p { color: var(--text-body); }
.home-privacy-points strong { color: var(--text); }
@media (max-width: 860px) { .home-privacy-cols { grid-template-columns: minmax(0, 1fr); } }

/* The FAQ: questions that open in place. */
.home-faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.home-faq-list details { border-radius: var(--radius); background: var(--ground); }
.home-faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--tap); padding: 18px 22px;
  font-weight: 800; font-size: 18px; cursor: pointer; list-style: none;
}
.home-faq-list summary::-webkit-details-marker { display: none; }
.home-faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); color: var(--action); font-size: 22px; font-weight: 700; line-height: 1; }
.home-faq-list details[open] summary::after { content: "−"; }
.home-faq-list details p { padding: 0 22px 20px; color: var(--text-body); max-width: 68ch; }

/* How it works: scoreboard numbers joined by a dashed try line. */
.home-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; position: relative; }
@media (max-width: 1000px) { .home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-steps { grid-template-columns: minmax(0, 1fr); } }
.home-steps li { counter-increment: step; position: relative; }
.home-steps li::before {
  content: "0" counter(step); display: grid; place-items: center; width: 72px; height: 64px; border-radius: 8px;
  background: var(--night); color: var(--gold); font-family: var(--font-mono); font-weight: 700; font-size: 34px;
  box-shadow: inset 0 0 0 2px var(--navy-line);
}
.home-steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 31px; left: 84px; right: -16px; border-top: 2px dashed var(--navy-line);
}
@media (max-width: 1000px) { .home-steps li::after { display: none; } }
.home-steps h3 { margin: 18px 0 8px; }
.home-steps p { color: var(--on-navy-muted); }
.home-steps a { color: var(--gold); font-weight: 700; }
.home-steps a:hover { color: var(--on-navy); }

.home-handled li { padding: 18px 20px; border-left: 5px solid var(--pitch); }

/* The origin story, on the pitch, with a halfway line and centre circle chalked behind it. */
.home-origin-band { overflow: hidden; }
.home-origin-band::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: min(560px, 90vw); aspect-ratio: 1; translate: -50% -50%;
  border: 3px solid var(--chalk); border-radius: 50%; pointer-events: none;
}
.home-origin { position: relative; max-width: 880px; text-align: center; padding-block: 32px 8px; }
.home-origin-quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.4; text-wrap: balance; }
.home-origin-quote::before { content: "\201C"; display: block; margin-bottom: -12px; font-size: 96px; line-height: 1; color: var(--gold); }
.home-origin .text-link { margin-top: 18px; color: var(--on-navy); }
.home-origin .text-link:hover { color: var(--gold); }

/* Prices as match tickets: a perforated stub, with notches cut from the sides. */
/* The masks clip box shadows, so the grid casts one for the tickets. */
.home-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; max-width: 820px; margin-inline: auto; filter: drop-shadow(0 12px 24px rgb(27 45 69 / 0.12)); }
.ticket {
  --notch: 14px;
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface);
  mask: radial-gradient(circle at 0 calc(100% - 64px), transparent var(--notch), #000 calc(var(--notch) + 0.5px)) left / 51% 100% no-repeat,
        radial-gradient(circle at 100% calc(100% - 64px), transparent var(--notch), #000 calc(var(--notch) + 0.5px)) right / 51% 100% no-repeat;
}
.ticket .hoops, .ticket .pride-stripe { height: 9px; }
.ticket-body { padding: 28px 32px 24px; }
.ticket-stub { display: flex; align-items: center; min-height: 64px; margin-top: auto; padding: 12px 32px; border-top: 2px dashed var(--line); color: var(--text-muted); font-size: 15px; }
.home-price-label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--action); }
.ticket-igr .home-price-label { color: var(--violet); }
.home-price { margin: 12px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1.05; }
.home-price span { font-size: 18px; font-weight: 600; }
.home-prices-more { margin-top: 28px; text-align: center; }

/* The call to action: club red, with diagonal kit stripes, its top edge cut at an angle over
   the section before it. */
.cta-band {
  position: relative; margin-top: calc(-1 * var(--cut)); padding-block: calc(64px + var(--cut)) 72px;
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  background: repeating-linear-gradient(-55deg, transparent 0 46px, rgb(255 255 255 / 0.06) 46px 92px), var(--action);
}
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { max-width: 640px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; }
.cta-band .btn { background: var(--navy); }
.cta-band .btn:hover { background: var(--night); }

.home-news-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.home-news-head h2 { font-size: clamp(28px, 3.4vw, 34px); }
.home-news { padding-bottom: calc(72px + var(--cut)); }
