/* Quant4 Sports - site styles (clean, light) */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-tint: #eef3fb;
  --ink: #0f1b2d;
  --ink-2: #3c4a5e;
  --ink-3: #6b7a90;
  --line: #e1e6ee;
  --accent: #1452cc;
  --accent-dark: #0e3d99;
  --accent-soft: #e6eefc;
  --good: #0f8a5f;
  --radius: 10px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.logo:hover { text-decoration: none; }
.logo img { height: 34px; width: auto; }
.logo .mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--accent);
  color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 800;
}
.logo .sports { color: var(--accent); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 16px;
  background: var(--accent); color: #fff; border: 1px solid var(--accent); cursor: pointer;
  font-family: inherit; transition: background .15s;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; color: #fff; }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent-soft); color: var(--accent-dark); }
.nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h1 { font-size: 46px; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 18px; }
h2 { font-size: 34px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 14px; }
h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.01em; }
.lede { font-size: 19px; color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 14px; color: var(--ink-3); margin-top: 14px; }

/* Example card */
.example-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(15,27,45,.08); overflow: hidden; }
.example-card .head { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.example-card .head strong { font-size: 15px; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-soft); border: 1px solid var(--line); padding: 3px 8px; border-radius: 20px; }
.example-card table { width: 100%; border-collapse: collapse; font-size: 15px; }
.example-card td { padding: 11px 18px; border-bottom: 1px solid var(--line); }
.example-card td:last-child { text-align: right; font-family: var(--mono); font-weight: 600; }
.example-card tr:last-child td { border-bottom: 0; background: #f2faf6; color: var(--good); }
.example-card .foot { padding: 10px 18px; font-size: 12.5px; color: var(--ink-3); background: var(--bg-soft); border-top: 1px solid var(--line); }

/* Sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--ink-2); font-size: 18px; margin: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; margin-bottom: 14px; }


/* Demo video */
.video-frame { max-width: 1000px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(15,27,45,.10); background: #f5f7fa; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Coverage */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 7px 15px; font-size: 15px; font-weight: 500; }
.coverage-note { font-size: 15px; color: var(--ink-3); margin-top: 18px; }

/* Lists */
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.check li:last-child { border-bottom: 0; }
.check li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2.5px solid var(--good); border-bottom: 2.5px solid var(--good); transform: rotate(-45deg); }
.check.no li::before { width: 12px; height: 2.5px; border: 0; background: #b4bfcf; transform: none; top: 20px; }
.check strong { color: var(--ink); }

/* Pricing */
.price-card { max-width: 520px; margin: 0 auto; background: #fff; border: 2px solid var(--accent); border-radius: 16px; padding: 36px; text-align: center; box-shadow: 0 12px 32px rgba(20,82,204,.10); }
.price { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: 10px 0 4px; }
.price span { font-size: 18px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.price-card .check { text-align: left; margin: 24px 0; }
.price-fine { font-size: 14px; color: var(--ink-3); margin-top: 16px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); margin: 12px 0 0; }

/* Form */
.signup { background: var(--ink); color: #fff; border-radius: 16px; padding: 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.signup h2 { color: #fff; }
.signup p { color: #c3cddc; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #dfe6f0; }
input, select { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid #33445e; background: #172741; color: #fff; font-family: inherit; font-size: 16px; }
input:focus, select:focus { outline: 2px solid #5b8cf0; border-color: transparent; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #c3cddc; font-weight: 400; }
.consent input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.signup .btn { width: 100%; padding: 14px; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 44px 0 30px; font-size: 14px; color: var(--ink-3); margin-top: 80px; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 24px; }
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer .links a { color: var(--ink-2); }
.disclaimer { border-top: 1px solid var(--line); padding-top: 20px; line-height: 1.55; }

/* Legal pages */
.legal { max-width: 800px; padding: 56px 20px; }
.legal h1 { font-size: 38px; }
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .updated { color: var(--ink-3); font-size: 15px; }
.notice { background: var(--accent-soft); border: 1px solid #c9d8f6; border-radius: var(--radius); padding: 16px 20px; color: var(--ink-2); }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .signup { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 38px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; }
  .menu-toggle { display: block; }
  .hero { padding: 48px 0; }
  h1 { font-size: 32px; }
  h2 { font-size: 27px; }
  section { padding: 56px 0; }
  .grid-4, .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .signup { padding: 28px 20px; }
  .price-card { padding: 28px 20px; }
}

/* ===== App theme (light): Quant4 Control Center accents on a light page ===== */
:root {
  --bg: #ffffff; --bg-soft: #f6f6f8; --bg-tint: #f3f3f6; --panel: #ffffff;
  --ink: #141418; --ink-2: #44464d; --ink-3: #6e7078; --line: #e3e3e8;
  --accent: #cc1f29; --accent-dark: #a5161f; --accent-soft: rgba(204,31,41,.08);
  --good: #16994f; --blue: #1a56c8; --gold: #8a6d00; --magenta: #9512ad;
}
body { background: var(--bg); color: var(--ink); }
a { color: var(--blue); }
.site-header { background: rgba(255,255,255,.95); border-bottom-color: var(--line); }
.logo { color: var(--ink); gap: 12px; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo .wm { font-weight: 800; letter-spacing: .02em; font-size: 21px; }
.logo .wm b { color: var(--accent); font-weight: 800; }
.logo .wm span { color: var(--ink); font-weight: 700; }
.nav a { color: var(--blue); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; font-size: 14px; }
.nav a:hover { color: #0f3d99; }
.nav .btn { color: #fff; }
.eyebrow { color: var(--gold); }
.hero { background: linear-gradient(180deg, #f4f4f7 0%, #fff 100%); border-bottom-color: var(--line); }
.btn.ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn.ghost:hover { background: var(--bg-soft); color: var(--ink); }
.example-card { border-left: 4px solid var(--accent); }
.example-card .head strong { color: var(--gold); }
.example-card tr:last-child td { background: rgba(22,153,79,.08); color: var(--good); }
.card { border-left: 4px solid var(--accent); }
.card h3 { color: var(--ink); }
.step-num { background: var(--accent-soft); color: var(--accent); }
.chips li { color: var(--magenta); font-weight: 700; }
.price-card { border-color: var(--accent); box-shadow: 0 12px 32px rgba(204,31,41,.08); }
.price { color: var(--good); }
.faq summary::after { color: var(--accent); }
.signup { background: #141418; border-left: 4px solid var(--accent); }
.signup .eyebrow { color: #f5ec42 !important; }
.signup input, .signup select { background: #1e1e22; border-color: #3a3a40; color: #fff; }
input:focus, select:focus { outline-color: var(--blue); }
.notice { background: var(--accent-soft); border-color: rgba(204,31,41,.25); color: var(--ink-2); }
@media (max-width: 720px) { .logo .wm { font-size: 18px; } }
.chips { justify-content: center; }
#coverage .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.coverage-note { text-align: center; }
.eyebrow, .example-card .head strong { color: var(--blue); }