/* Gamer Singles: Lavender Fields (house brief, 1 Dec 2026)
   Baloo 2 700 headings, Figtree 400/600 body. Pill corners, cards on white,
   pixel-dot dividers. Signature: a large drop initial on each page's first paragraph. */

@font-face { font-family: 'Baloo 2'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/baloo-2-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/figtree-latin-600-normal.woff2') format('woff2'); }

:root {
  --bg: #f8f6fd;
  --surface: #ffffff;
  --ink: #1f1c1a;
  --muted: #57504a;
  --join: #6a4fc4;
  --join-hover: #5a40b0;
  --link: #553cab;
  --tint: #efeafb;
  --tint-2: #e4dcf8;
  --pixel-2: #b9a8ee;
  --pixel-3: #dcd2f7;
  --line: #ddd4f2;
  --night: #221a40;
  --night-text: #e6e0f7;
  --night-link: #c9bbff;
  --head: 'Baloo 2', 'Trebuchet MS', sans-serif;
  --body: 'Figtree', 'Segoe UI', Arial, sans-serif;
  --wrap: 1160px;
  --pill: 999px;
  --radius: 24px;
  --hdr-m: 64px;   /* closed header height on phones */
  --ck-m: 64px;    /* room kept for the cookie banner on phones */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.68; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); }
strong { font-weight: 600; }
p { margin: 0 0 1.05em; }
h1, h2, h3, .hero-heading { font-family: var(--head); font-weight: 700; color: var(--ink); line-height: 1.12; letter-spacing: -0.005em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.85rem); margin: 0 0 0.55em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 2.2em 0 0.5em; }
h3 { font-size: 1.3rem; margin: 1.4em 0 0.4em; }
/* divider: a row of three pixels above every section heading */
h2::before { content: ""; display: block; width: 8px; height: 8px; background: var(--join); box-shadow: 12px 0 0 var(--pixel-2), 24px 0 0 var(--pixel-3); margin-bottom: 0.7em; }
:focus-visible { outline: 3px solid var(--join); outline-offset: 2px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--night); color: #fff; padding: 10px 14px; z-index: 100; border-radius: var(--pill); }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- buttons (pill) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; text-align: center; font-family: var(--body); font-weight: 600; text-decoration: none; border: 2px solid transparent; border-radius: var(--pill); line-height: 1.2; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--join); color: #ffffff; border-color: var(--join); box-shadow: 0 4px 0 #43308a; }
.btn-primary:hover { background: var(--join-hover); border-color: var(--join-hover); color: #ffffff; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--muted); }
.btn-outline:hover { border-color: var(--link); color: var(--link); }
.btn-sm { padding: 9px 18px; font-size: 0.95rem; min-height: 42px; }
.btn-lg { padding: 14px 34px; font-size: 1.1rem; min-height: 54px; }

/* ---------- header: minimal bar, logo left, links and buttons right ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand-logo { width: 160px; height: auto; }
.header-cta { display: none; }
.mainnav { display: flex; align-items: center; gap: 4px 22px; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 600; padding: 6px 14px; border-radius: var(--pill); }
.nav-link:hover { color: var(--link); background: var(--tint); }
.nav-link.active { background: var(--tint); color: var(--link); }
.nav-actions { display: inline-flex; gap: 10px; margin-left: 8px; }
.menu-toggle { width: 46px; height: 42px; background: var(--surface); border: 2px solid var(--muted); border-radius: var(--pill); padding: 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- hero: photo band across the top, copy in a card below it ---------- */
.hero { position: relative; background: var(--bg); padding-bottom: 8px; }
.hero-media { position: relative; height: clamp(340px, 54vh, 560px); overflow: hidden; background: var(--tint-2); }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 36%; }
.hero-inner { position: relative; z-index: 2; }
.hero-card { position: relative; margin-top: -44px; max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 40px 36px; box-shadow: 0 10px 0 var(--tint-2); }
.hero-heading { font-size: clamp(2.1rem, 3.4vw, 2.9rem); margin: 0 0 0.3em; }
.hero-strapline { font-size: 1.15rem; color: var(--ink); margin: 0 0 1.3em; max-width: 600px; }

/* ---------- sections and bands ---------- */
.section { padding: 8px 0; }
.section--first { padding-top: 56px; }
.prose { max-width: 760px; }
.section .prose > h2:first-child { margin-top: 1.6em; }
.lead { font-size: 1.15rem; }
/* signature: the large drop initial */
.lead::first-letter { float: left; font-family: var(--head); font-weight: 700; font-size: 4.4em; line-height: 0.82; color: var(--join); background: var(--tint); border-radius: 18px; padding: 0.16em 0.16em 0.04em; margin: 0.08em 0.14em 0 0; }
.band { padding: 62px 0; margin-top: 50px; }
.band h2 { margin-top: 0; }
.band + .section .prose > h2:first-child { margin-top: 1.4em; }
.band--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--tint { background: var(--tint); }
.band--plain { background: var(--bg); }
.band--join { background: var(--tint-2); margin-bottom: 0; }
.band + .band { margin-top: 0; }
.band-intro { max-width: 760px; margin-bottom: 28px; }
.band-outro { max-width: 760px; margin-top: 28px; }
.band-outro p:last-child, .band-intro p:last-child { margin-bottom: 0; }
.seo-content a:not(.btn) { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 600; }
.seo-content a:not(.btn):hover { text-decoration-thickness: 2px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; }
.card p:last-child { margin-bottom: 0; }

/* tinted highlight band: a white card with a lavender pill bar */
.highlight { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 40px 30px 56px; max-width: 880px; }
.highlight::before { content: ""; position: absolute; left: 22px; top: 36px; bottom: 36px; width: 8px; border-radius: var(--pill); background: linear-gradient(var(--join), var(--pixel-2)); }
.highlight p:last-child { margin-bottom: 0; }

/* comparison table (homepage centrepiece) */
.table-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare thead th { background: var(--night); color: #ffffff; text-align: left; font-family: var(--head); font-size: 1.1rem; font-weight: 700; padding: 14px 18px; }
.compare th[scope="row"] { text-align: left; font-family: var(--head); font-size: 1.15rem; font-weight: 700; color: var(--link); width: 14%; }
.compare tbody th, .compare tbody td { padding: 16px 18px; vertical-align: top; border-top: 1px solid var(--line); }
.compare tbody tr:nth-child(even) { background: var(--bg); }

/* numbered step cards (no connecting line) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; }
.steps li strong { display: block; font-family: var(--head); font-weight: 700; font-size: 1.2rem; line-height: 1.2; margin-bottom: 6px; }
.steps li > strong::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--pill); background: var(--join); color: #ffffff; font-family: var(--head); font-size: 1.35rem; line-height: 1; margin-bottom: 12px; }

/* checklist (player types) */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
.checklist li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px 14px 56px; line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: var(--pill); background: var(--join) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.5l3.6 3.6 7.4-7.6' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 26px 26px no-repeat; }

/* split text-and-image band */
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 52px; align-items: center; }
.split--rev .split-text { order: 2; }
.split--rev .split-art { order: 1; }
.split-art .art { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }

/* feature cards (page 2: 2 x 2, page 3: icon cards) */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; }
.features li strong { display: block; font-family: var(--head); font-weight: 700; font-size: 1.2rem; line-height: 1.2; margin-bottom: 6px; color: var(--ink); }
.features .icon { width: 40px; height: 40px; margin-bottom: 12px; }
.features--five { grid-template-columns: repeat(6, 1fr); }
.features--five li { grid-column: span 2; }
.features--five li:nth-child(4) { grid-column: 2 / span 2; }

/* date plans: numbered cards, two columns (no connecting line) */
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; counter-reset: plan; }
.plans li { counter-increment: plan; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px 84px; }
.plans li::before { content: counter(plan); position: absolute; left: 22px; top: 22px; width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--tint); color: var(--link); font-family: var(--head); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.plans li strong { display: block; font-family: var(--head); font-weight: 700; font-size: 1.15rem; line-height: 1.25; margin-bottom: 6px; }
.plans li:last-child { grid-column: 1 / -1; }

/* final Join Now band */
.join-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 40px 44px; max-width: 860px; margin: 0 auto; text-align: center; box-shadow: 0 10px 0 #cfc3f2; }
.join-panel h2::before { margin-left: auto; margin-right: auto; transform: translateX(-12px); }
.join-panel p { max-width: 640px; margin-left: auto; margin-right: auto; }
.join-panel .btn { margin-top: 8px; }

.notfound { padding-bottom: 60px; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: var(--night-text); padding: 50px 0 26px; --logo-mark: #b9a8ee; --logo-star: #c9bbff; --logo-accent: #c9bbff; }
.footer .brand { color: #ffffff; }
.footer .brand-logo { width: 170px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-title { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: #ffffff; margin: 0 0 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 8px; }
.footer a { color: var(--night-text); text-decoration: none; }
.footer a:hover { color: var(--night-link); text-decoration: underline; }
.footer-bottom { border-top: 1px solid #3a2f63; margin-top: 30px; padding-top: 18px; font-size: 0.95rem; }

/* ---------- cookie banner ---------- */
.cookie { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--night); color: #ffffff; border-top: 3px solid var(--join); }
.cookie.show { display: block; }
.cookie-inner { max-width: var(--wrap); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 0.95rem; }
.cookie a { color: var(--night-link); }
.cookie-accept { background: var(--surface); color: var(--night); border: 0; border-radius: var(--pill); font-family: var(--body); font-weight: 600; font-size: 0.95rem; padding: 9px 20px; min-height: 40px; cursor: pointer; }

/* ---------- tablet ---------- */
@media (max-width: 1023.98px) {
  .mainnav { gap: 4px 6px; }
  .nav-link { padding: 6px 10px; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr 1fr; gap: 32px; }
  .features--five { grid-template-columns: repeat(2, 1fr); }
  .features--five li, .features--five li:nth-child(4) { grid-column: auto; }
  .features--five li:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- phones ---------- */
@media (max-width: 767.98px) {
  .container { padding: 0 16px; }
  .header-inner { flex-wrap: wrap; justify-content: space-between; min-height: 0; padding-top: 8px; padding-bottom: 8px; gap: 0 10px; }
  .brand img, .brand svg, .brand-logo { width: clamp(110px, 33vw, 240px); }
  .header-cta { display: flex; align-items: center; gap: 10px; }
  .header-cta .btn-sm { padding: 9px 16px; box-shadow: none; }
  .mainnav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 8px; padding: 4px 0 6px; border-top: 1px solid var(--line); }
  .mainnav.open { display: flex; }
  .nav-link { padding: 12px 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-link.active { background: transparent; border-left: 4px solid var(--join); padding-left: 12px; }
  .nav-actions { margin: 12px 0 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav-actions .btn { width: 100%; min-height: 48px; box-shadow: none; }

  .hero { display: flex; flex-direction: column; padding-bottom: 0; height: calc(100vh - var(--hdr-m) - var(--ck-m)); height: calc(100svh - var(--hdr-m) - var(--ck-m)); min-height: 430px; }
  .hero-media { flex: 1 1 auto; height: auto; min-height: 120px; }
  .hero-media img { position: absolute; inset: 0; object-position: 50% 34%; }
  .hero-inner { flex: 0 0 auto; }
  .hero-card { margin-top: -26px; max-width: none; border-radius: 22px; padding: 18px 18px 16px; box-shadow: none; }
  .hero-heading { font-size: clamp(1.6rem, 7.4vw, 2rem); margin-bottom: 0.25em; }
  .hero-strapline { font-size: 1rem; line-height: 1.5; margin-bottom: 0.85em; }
  .hero-btn { display: flex; width: 100%; box-shadow: none; }

  .section--first { padding-top: 40px; }
  .lead::first-letter { font-size: 3.6em; }
  .band { padding: 44px 0; margin-top: 38px; }
  .split, .checklist, .features, .plans { grid-template-columns: 1fr; gap: 14px; }
  .split { gap: 26px; }
  .split--rev .split-text, .split--rev .split-art { order: 0; }
  .split-art { max-width: 420px; }
  .features--five li, .features--five li:nth-child(4), .features--five li:last-child { grid-column: auto; }
  .plans li { padding: 74px 20px 20px; }
  .plans li::before { left: 20px; top: 20px; }
  .highlight { padding: 26px 20px 22px 40px; }
  .highlight::before { left: 16px; top: 26px; bottom: 26px; width: 6px; }
  .join-panel { padding: 28px 20px; }
  .join-panel .btn { display: flex; width: 100%; }

  /* table stacks into cards */
  .table-frame { background: transparent; border: 0; border-radius: 0; overflow: visible; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr { background: var(--surface) !important; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 14px; overflow: hidden; }
  .compare th[scope="row"] { width: 100%; background: var(--tint); border-top: 0; padding: 12px 16px; }
  .compare tbody td { border-top: 1px solid var(--line); padding: 12px 16px; }
  .compare td::before { content: attr(data-label); display: block; font-size: 0.85rem; font-weight: 600; color: var(--link); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 2px; }

  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer .brand-logo { width: 150px; }

  .cookie-inner { padding: 8px 14px; gap: 12px; font-size: 0.9rem; justify-content: space-between; }
  .cookie-accept { padding: 8px 16px; min-height: 40px; }
}

/* hero focus (bulk runner v15) */
@media (min-width: 768px) {
  picture img { object-position: 46% 16% !important; }
}
@media (max-width: 767px) {
  picture img { object-position: 50% 50% !important; }
}
