/* Darts Matchplay. Colours live here so the brand can be swapped in one place. */
:root {
  --bg: #0b0b0d;
  --bg-2: #121215;
  --panel: #18181c;
  --line: rgba(255,255,255,.09);
  --text: #f4f5f7;
  --muted: #a8abb2;
  --red: #e3141b;
  --red-dark: #b30d13;
  --green: #1e9e5a;
  --chrome: #d4d7dc;
  --cream: #e6e8ec;
  --err: #ff7a6e;
  --radius: 14px;
  --head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'Inter', Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--cream); }
img { max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }
.narrow { width: min(760px, 100% - 32px); }
.small { font-size: .88rem; color: var(--muted); }
.center { text-align: center; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(11,11,13,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { height: 36px; width: auto; display: block; }
.brand-text { font: 800 1.45rem/1 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.head-nav { display: flex; align-items: center; gap: 22px; }
.head-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.head-nav a:hover { color: var(--text); }
.head-nav a.btn { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 700 1rem var(--body); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s; }
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .92rem; }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-block { width: 100%; margin-top: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(800px 520px at 80% 45%, rgba(227,20,27,.28), transparent 62%),
              radial-gradient(700px 400px at 5% 0%, rgba(255,255,255,.05), transparent 60%), var(--bg); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 72px 0 80px; }
.eyebrow { margin: 0 0 14px; color: var(--red); font: 700 .95rem var(--body); letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, .sec-title { font-family: var(--head); text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.hero h1 { margin: 0 0 20px; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
.hero h1 .h1-sub { display: block; margin-top: 16px; color: var(--red); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.05; }
.lead { max-width: 560px; margin: 0 0 28px; color: var(--muted); font-size: 1.12rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.facts strong { color: var(--text); }
.hero-logo { justify-self: center; width: 100%; max-width: 580px; }
.hero-logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 50px rgba(0,0,0,.55)); }

/* Sections */
.block { padding: 72px 0; }
.block-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { margin: 0 0 28px; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.steps h3 { margin: 14px 0 8px; font-size: 1.5rem; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); font: 800 1.2rem var(--head); }
.note { margin-top: 20px; padding: 18px 22px; border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; background: rgba(227,20,27,.08); color: var(--muted); }
.note strong { color: var(--text); }

/* Entry */
.enter-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.price { margin: 0 0 12px; font: 800 3.4rem/1 var(--head); color: var(--text); }
.price span { font: 500 1rem var(--body); color: var(--muted); }
.enter-info p { color: var(--muted); }
.enter-info strong { color: var(--text); }
.card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.card h3 { margin: 0 0 10px; font-size: 1.8rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; font-weight: 600; font-size: .92rem; }
.field input { display: block; width: 100%; min-height: 50px; margin-top: 6px; padding: 0 14px; border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; background: #101013; color: var(--text); font: 500 1rem var(--body); }
.field input:focus { border-color: var(--cream); outline: none; }
.has-err input { border-color: var(--err); }
.field-err { margin: 6px 0 0; color: var(--err); font-weight: 500; font-size: .87rem; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0 2px; font-size: .93rem; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); }
.check.has-err span { color: var(--err); }
.check + .field-err { margin-left: 32px; }
.hint { margin: -4px 0 6px; color: var(--muted); font-size: .85rem; }
.hint.center { margin-top: 10px; }
.alert { margin-bottom: 18px; padding: 12px 16px; border-radius: 10px; background: rgba(239,230,207,.08); border: 1px solid var(--line); }
.alert-err { background: rgba(255,122,110,.1); border-color: rgba(255,122,110,.4); color: #ffd3ce; }
.hp { position: absolute; left: -9999px; }

/* Confirmation */
.tick { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--red); font-size: 2rem; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.summary div { padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.summary dt { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.summary dd { margin: 4px 0 0; font: 700 1.3rem var(--head); }

/* Text pages */
.prose h2 { margin: 34px 0 10px; font-size: 1.7rem; }
.prose ul { padding-left: 20px; color: var(--muted); }
.prose li { margin-bottom: 6px; }
.prose li strong { color: var(--text); }
.placeholder { padding: 16px 18px; border: 2px dashed rgba(239,230,207,.35); border-radius: 12px; color: var(--cream); }

/* Footer */
.site-foot { padding: 28px 0; color: var(--muted); font-size: .9rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-in a { color: var(--muted); }

@media (max-width: 900px) {
  .hero-in, .enter-grid { grid-template-columns: 1fr; }
  .hero-logo { order: -1; max-width: 420px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
.btn { white-space: nowrap; }
@media (max-width: 600px) {
  .head-nav a:not(.btn) { display: none; }
  .brand-text { display: none; }
  .brand-mark { height: 34px; }
  .hero-in { padding: 48px 0 56px; }
  .steps, .row2, .summary { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .block { padding: 52px 0; }
}
