/* BiletAI website: the same design tokens as client/app.css (indigo accent, green
   highlight, white in light mode, deep navy in dark mode, following the system). */
:root {
  --bg: #ffffff; --panel: #ffffff; --ink: #161a2b; --muted: #687089; --line: #e6e8f0; --field: #f7f8fc;
  --accent: #5b5bf7; --accent-2: #34d399; --accent-ink: #ffffff; --bad: #d23b4a; --ok: #0f9a6d;
  --shadow: 0 1px 2px rgba(22, 26, 43, .04), 0 4px 14px rgba(22, 26, 43, .05);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --bg: #0e1020; --panel: #171a2e; --ink: #e9ebf6; --muted: #9aa1bd; --line: #262a44; --field: #1e2238; --shadow: none; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.top { position: sticky; top: 0; z-index: 3; border-bottom: 1px solid var(--line); background: var(--panel);
  --pitch: color-mix(in srgb, var(--accent-2) 16%, transparent);
  background-image: radial-gradient(circle at 55% 50%, transparent 44px, var(--pitch) 45px 46.5px, transparent 47.5px),
    linear-gradient(90deg, transparent calc(55% - 1px), var(--pitch) calc(55% - 1px) calc(55% + 1px), transparent calc(55% + 1px)); }
header.top .wrap { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; color: #fff; font-weight: 800; position: relative; text-decoration: none; }
.logo::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8.6' fill='%23fff' stroke='%2334d399' stroke-width='2.4'/%3E%3Cpath d='M10 6.3l3.5 2.5-1.3 4.1H7.8L6.5 8.8z' fill='%23161a2b'/%3E%3C/svg%3E") center / contain no-repeat; }
.brand { font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; } .brand span { color: var(--accent); }
nav.main { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a { color: var(--muted); text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
nav.main a:hover, nav.main a.on { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.btn { display: inline-block; border: 1px solid var(--line); background: var(--panel); color: var(--ink); padding: 10px 18px; border-radius: 10px; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.hero { padding: 64px 0 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; margin: 0 0 14px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 17px; color: var(--muted); margin: 0 0 22px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.legal-line { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.card h2, section h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
section { padding: 28px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step .n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 8px; }
.step h3 { margin: 0 0 6px; font-size: 16px; } .step p { margin: 0; color: var(--muted); font-size: 14px; }
.ticket { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.thead { display: flex; align-items: center; gap: 10px; padding: 12px 16px; flex-wrap: wrap; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent); border-bottom: 1px solid var(--line); }
.thead b { font-size: 15px; } .stat { font-size: 12.5px; color: var(--muted); } .stat strong { color: var(--ink); font-size: 14px; }
.tag { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.tag.ok { background: color-mix(in srgb, var(--accent-2) 22%, transparent); color: var(--ok); }
.tag.bad { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.match { padding: 11px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; }
.match:last-child { border-bottom: 0; }
.clock { min-width: 50px; text-align: center; font: 700 13px/1 ui-monospace, "Cascadia Mono", Consolas, monospace; padding: 7px 6px; border-radius: 8px; background: var(--field); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.clock.won { background: color-mix(in srgb, var(--accent-2) 22%, transparent); border-color: transparent; color: var(--ok); }
.clock.lost { background: color-mix(in srgb, var(--bad) 14%, transparent); border-color: transparent; color: var(--bad); }
.teams { font-weight: 650; } .meta { font-size: 12px; color: var(--muted); }
.legs { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.leg { font-size: 12.5px; padding: 3px 9px; border-radius: 8px; background: var(--field); border: 1px solid var(--line); }
.odds { text-align: right; } .odds .o { font-size: 16px; font-weight: 750; } .odds .p { font-size: 12px; color: var(--muted); }
.spacer { flex: 1; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 14px; }
.tier { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; background: var(--panel); }
.tier.featured { border: 2px solid var(--accent); box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 22%, transparent); }
.tier .badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tier h3 { margin: 0; font-size: 16px; } .tier .price b { font-size: 30px; } .tier .price span { color: var(--muted); }
.tier ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.7; flex: 1; }
.topup { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; gap: 10px; flex-wrap: wrap; }
.hint { font-size: 12.5px; color: var(--muted); }
.trow { display: grid; grid-template-columns: 62px 1fr 92px; gap: 10px; align-items: center; font-size: 12.5px; margin-top: 9px; }
.tbar { height: 8px; border-radius: 999px; background: var(--field); border: 1px solid var(--line); position: relative; }
.tbar > i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.tbar > b { position: absolute; top: -4px; width: 2px; height: 14px; background: var(--ink); border-radius: 1px; }
.tsum { font-size: 14px; } .tsum strong { font-size: 16px; }
.downloads { display: flex; gap: 10px; flex-wrap: wrap; }
.downloads .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
footer { border-top: 1px solid var(--line); margin-top: 30px; padding: 22px 0 30px; font-size: 12.5px; color: var(--muted); }
footer .links { display: flex; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 10px; }
footer .links a { color: var(--muted); }
footer .age { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bad); color: var(--bad); font-weight: 800; font-size: 11px; margin-right: 8px; vertical-align: middle; }
article.legal { max-width: 760px; padding: 36px 0 20px; }
article.legal h1 { font-size: 30px; margin: 0 0 6px; } article.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
article.legal h2 { font-size: 18px; text-transform: none; letter-spacing: 0; color: var(--ink); margin: 26px 0 8px; }
article.legal p, article.legal li { font-size: 15px; }
.review { border-left: 3px solid var(--accent-2); padding: 2px 10px; color: var(--muted); font-size: 13px; background: color-mix(in srgb, var(--accent-2) 8%, transparent); border-radius: 0 8px 8px 0; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-top: 36px; } .steps, .tiers { grid-template-columns: 1fr; } }

/* Phones: the section links would wrap the header onto two rows; the hero has the same calls to action. */
@media (max-width: 640px) { nav.main a:not(.btn) { display: none; } nav.main { margin-left: auto; } }
