/* Fantasy Cricket Lab — Dark Lab Reports Theme */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; height: auto; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; }
.mono { font-family: var(--font-display); }

/* Topbar */
.topbar { background: #050508; color: var(--muted); font-size: 13px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar .promo { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--text); }
.topbar .promo .badge { background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; font-family: var(--font-display); }
.topbar .social { display: flex; gap: 14px; align-items: center; }
.topbar .social a { color: var(--muted); display: inline-flex; transition: color 0.2s; }
.topbar .social a:hover { color: var(--primary); }
.topbar .social svg { width: 16px; height: 16px; fill: currentColor; }

/* Header */
header.site { position: sticky; top: 0; z-index: 100; background: rgba(10,10,15,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); height: var(--header-h); display: flex; align-items: center; box-shadow: var(--shadow-sm); }
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--primary); font-size: 19px; letter-spacing: -0.02em; font-family: var(--font-display); }
.logo svg { width: 36px; height: 36px; }
.logo span.cs { color: var(--text); font-weight: 500; }
nav.main { display: flex; gap: 2px; flex: 1; justify-content: center; flex-wrap: wrap; }
nav.main a { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--text); font-weight: 500; font-size: 14px; transition: all 0.2s; white-space: nowrap; }
nav.main a:hover { background: var(--surface); color: var(--primary); text-decoration: none; }
nav.main a.is-active { color: var(--primary); background: var(--surface); }
.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.menu-toggle:hover { background: var(--surface); }
.menu-toggle .hamburger { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.menu-toggle .hamburger span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; border: 0; transition: all 0.2s; white-space: nowrap; text-decoration: none; gap: 8px; font-family: var(--font-body); }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-primary { background: var(--primary); color: #0a0a0f; }
.btn-primary:hover { background: var(--accent); color: #0a0a0f; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #0a0a0f; }
.btn-ghost { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-success { background: var(--success); color: #fff; }

/* Sections */
section { padding: 64px 0; }
section.band { padding: 64px 0; }
section.band-elev-1 { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section.band-elev-2 { background: var(--surface-2); }
section.band-elev-3 { background: var(--bg); }
section .section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.band-eyebrow { display: inline-block; font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 12px; padding: 4px 12px; background: rgba(255,107,157,0.1); border: 1px solid rgba(255,107,157,0.3); border-radius: 4px; }
.band-title { font-size: 36px; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; color: var(--text); margin-bottom: 14px; text-align: center; }
.band-title .accent { color: var(--primary); }
.band-sub { font-size: 17px; color: var(--muted); text-align: center; max-width: 720px; margin: 0 auto 32px; line-height: 1.6; }

/* HERO */
.hero { position: relative; overflow: hidden; min-height: 540px; display: flex; align-items: center; justify-content: center; padding: 56px 0; border-bottom: 1px solid var(--border); background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.32; filter: contrast(1.1) saturate(0.85) hue-rotate(180deg); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,15,0.4) 0%, rgba(10,10,15,0.95) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 1200px; padding: 0 40px; width: 100%; margin: 0 auto; }
.hero h1 { font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; color: #fff; margin-bottom: 18px; max-width: 880px; margin-left: auto; margin-right: auto; }
.hero h1 .accent { color: var(--primary); }
.hero .lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 680px; margin: 0 auto 28px; }
.hero .cta-pair { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.hero .trust-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; margin-top: 16px; }
.hero .trust-row .item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--text); padding: 8px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-family: var(--font-display); }

/* Stat tiles */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 32px 0; }
.stat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: border-color 0.2s; }
.stat-tile:hover { border-color: var(--primary); }
.stat-tile .num { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stat-tile .label { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-display); }

/* Trust strip */
.trust-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center; }
.trust-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--text); font-family: var(--font-display); }
.trust-pill svg { width: 36px; height: 36px; flex-shrink: 0; }
.trust-pill .label { display: block; font-size: 10px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.2s; }
.card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; font-family: var(--font-display); }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.card .icon { width: 48px; height: 48px; margin-bottom: 14px; }

/* Loose card */
.loose-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.loose-card h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 12px; color: var(--text); }
.loose-card p { color: var(--muted); line-height: 1.7; }

/* Data card */
.data-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.data-card .label { font-family: var(--font-display); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 6px; font-weight: 700; }
.data-card .value { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.data-card .sub { font-size: 13px; color: var(--muted); }

/* Step card */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 32px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; position: relative; }
.step-card .step-num { width: 44px; height: 44px; background: var(--primary); color: #0a0a0f; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 14px; font-family: var(--font-display); }
.step-card h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; color: var(--text); }
.step-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Hub grid */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 24px; }
.hub-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; color: var(--text); transition: all 0.2s; text-align: center; }
.hub-card:hover { border-color: var(--primary); background: var(--surface-2); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hub-card svg { width: 56px; height: 56px; margin: 0 auto 10px; display: block; }
.hub-card h4 { font-size: 14px; font-weight: 700; color: var(--primary); font-family: var(--font-display); }

/* FAQ grid */
.faq-grid { max-width: 880px; margin: 32px auto 0; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--primary); }
.faq-item summary { padding: 18px 22px; font-weight: 700; font-size: 16px; color: var(--text); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--primary); font-weight: 400; transition: transform 0.2s; flex-shrink: 0; }
.faq-item[open] { border-color: var(--primary); }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-item .answer { padding: 0 22px 18px; color: var(--muted); line-height: 1.7; }

/* Inline image row */
.inline-image-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin: 32px 0; }
.inline-image-row img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.inline-image-row.reverse { direction: rtl; }
.inline-image-row.reverse > * { direction: ltr; }
.inline-image-row .content h3 { font-family: var(--font-display); font-size: 22px; color: var(--text); margin-bottom: 10px; }
.inline-image-row .content p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.inline-image-row figure { margin: 0; }

/* Data table */
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; min-width: 600px; }
.data-table thead tr { background: var(--surface-2); border-bottom: 2px solid var(--primary); }
.data-table th { padding: 14px 16px; text-align: left; font-weight: 800; color: var(--text); font-family: var(--font-display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--muted); }
.data-table tbody tr:hover { background: var(--surface); }
.data-table .pos { color: var(--primary); font-weight: 700; font-family: var(--font-display); }
.data-table .neg { color: var(--accent); font-weight: 700; font-family: var(--font-display); }

/* Bonus banner */
.bonus-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: #0a0a0f; border-radius: var(--radius-lg); padding: 32px; margin: 48px 0; text-align: center; position: relative; overflow: hidden; }
.bonus-banner h3 { color: #0a0a0f; font-size: 28px; margin-bottom: 8px; font-family: var(--font-display); }
.bonus-banner p { color: rgba(10,10,15,0.85); margin-bottom: 20px; }
.bonus-banner .code-box { display: inline-flex; align-items: center; gap: 12px; background: rgba(10,10,15,0.15); border: 2px dashed #0a0a0f; padding: 12px 24px; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: 0.05em; color: #0a0a0f; }

/* Inline CTA */
.inline-cta { background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%); border: 1px solid var(--primary); border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; margin: 40px 0; }
.inline-cta h3 { color: var(--text); font-size: 24px; margin-bottom: 10px; font-family: var(--font-display); }
.inline-cta p { color: var(--muted); font-size: 16px; margin-bottom: 22px; }
.inline-cta .cta-pair { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Long-form (hub pages) */
.longform { max-width: 820px; margin: 0 auto; }
.longform h1 { font-size: 42px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 14px; }
.longform h1 .accent { color: var(--primary); }
.longform .lede { font-size: 19px; color: var(--muted); line-height: 1.6; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.longform h2 { font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin: 40px 0 14px; font-family: var(--font-display); }
.longform h3 { font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--primary); margin: 24px 0 10px; font-family: var(--font-display); }
.longform p { font-size: 17px; line-height: 1.75; margin-bottom: 16px; color: var(--text); }
.longform ul, .longform ol { margin: 12px 0 18px 24px; color: var(--text); }
.longform li { margin-bottom: 8px; line-height: 1.7; }
.longform figure { margin: 28px 0; }
.longform figure img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.longform figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; font-style: italic; text-align: center; }
.longform strong { color: var(--primary); }
.longform em { color: var(--accent); font-style: normal; font-weight: 600; }

/* Breadcrumb */
.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 0; font-size: 13px; color: var(--muted); font-family: var(--font-display); }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); }

/* Disclaimer */
.disclaimer { background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius); padding: 16px 20px; margin: 24px auto; max-width: 880px; font-size: 14px; line-height: 1.6; color: var(--warning-text); }
.disclaimer strong { color: var(--accent); }

/* Compliance */
.compliance-notice { background: var(--surface); border-left: 4px solid var(--accent); padding: 14px 20px; margin: 0 auto 32px; max-width: 880px; font-size: 13px; color: var(--muted); border-radius: 0 var(--radius) var(--radius) 0; }
.compliance-notice strong { color: var(--accent); }

/* Footer */
footer { background: #050508; color: rgba(240,240,245,0.7); padding: 56px 0 24px; margin-top: 64px; border-top: 1px solid var(--border); }
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
footer h5 { color: var(--primary); font-family: var(--font-display); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; font-size: 14px; }
footer a { color: rgba(240,240,245,0.6); }
footer a:hover { color: var(--primary); }
footer .footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; margin: 12px 0 16px; }
footer .footer-brand .logo { color: var(--primary); margin-bottom: 12px; }
footer .footer-brand .logo span.cs { color: rgba(240,240,245,0.6); }
footer .footer-social { display: flex; gap: 8px; margin-top: 12px; }
footer .footer-social a { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s; }
footer .footer-social a:hover { background: var(--primary); color: #0a0a0f; }
footer .footer-social svg { width: 14px; height: 14px; fill: currentColor; }
footer .legal-bar { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--muted); font-family: var(--font-display); }
footer .legal-bar a { color: var(--muted); }

/* Sticky mobile CTA */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(5,5,8,0.98); border-top: 1px solid var(--border); padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); z-index: 999; box-shadow: 0 -10px 30px rgba(0,0,0,0.5); gap: 10px; }
.sticky-cta .btn { flex: 1; min-height: 44px; padding: 11px 14px; font-size: 13px; font-weight: 800; letter-spacing: 0; border-radius: 999px; }

/* Responsive */
@media (max-width: 1024px) {
  .topbar .container { flex-wrap: wrap; gap: 8px; }
  .topbar .promo { font-size: 12px; }
  nav.main { display: none; }
  nav.main.open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--surface); padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); z-index: 99; }
  nav.main.open a { padding: 12px 16px; text-align: center; }
  .menu-toggle { display: inline-flex; }
  .inline-image-row { grid-template-columns: 1fr; }
  footer .container { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
  .longform h1 { font-size: 30px; }
  .band-title { font-size: 28px; }
  .inline-image-row.reverse { direction: ltr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .promo { display: none; }
  .hero { min-height: 480px; padding: 36px 0; }
  .hero h1 { font-size: 30px; }
  .hero, .hero-band, #hero, [class*="hero"] { max-height: 720px !important; min-height: 480px !important; overflow: hidden !important; }
  .hero .lede { font-size: 16px; }
  section, section.band { padding: 40px 0; }
  .band-title { font-size: 24px; }
  .longform h1 { font-size: 26px; }
  .longform h2 { font-size: 22px; }
  .longform p { font-size: 16px; }
  .inline-cta { padding: 28px 20px; }
  .btn { padding: 11px 20px; font-size: 14px; }
  .sticky-cta { display: flex !important; align-items: center; }
  body { padding-bottom: 80px; }
  footer .container { grid-template-columns: 1fr; gap: 24px; }
  .trust-strip .container { gap: 18px; }
  .trust-pill { font-size: 13px; }
  .disclaimer { margin: 16px; font-size: 13px; }
  .bonus-banner .code-box { font-size: 14px; padding: 10px 16px; }
  .hero-banner, .inline-image-row img { max-height: 220px; object-fit: cover; }
  .data-table { font-size: 13px; }
}

/* Card visual safety pin */
.card, .step-card, .loose-card, .data-card {
  border: 1px solid #2a2a3a !important;
  background: #1a1a23 !important;
  padding: 24px !important;
  border-radius: 12px !important;
}
.step-card { padding: 28px !important; }
.loose-card { padding: 28px !important; }
.data-card { padding: 22px !important; }

@media (max-width: 640px) {
  header.site {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .hero {
    min-height: 420px !important;
    padding: 28px 0 30px !important;
  }

  .hero, .hero-band, #hero, [class*="hero"] {
    max-height: 620px !important;
    min-height: 420px !important;
  }

  .hero-bg::after {
    opacity: .18 !important;
  }

  .hero-bg img,
  .hero-banner {
    filter: none !important;
  }

  .hero .trust-row,
  .social {
    display: none !important;
  }

  main section.band,
  footer {
    content-visibility: auto;
    contain-intrinsic-size: 700px;
  }
}


/* Child-page visual depth: banner + three contextual visuals */
.visual-field-notes{overflow:hidden}
.visual-field-notes .visual-intro{max-width:760px;margin-bottom:26px;color:var(--muted)}
.visual-note-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.visual-note{margin:0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:0 18px 45px rgba(0,0,0,.18)}
.visual-note img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:var(--surface-2)}
.visual-note figcaption{padding:15px 16px;color:var(--muted);font-size:13px;line-height:1.55;border-top:1px solid var(--border)}
.visual-note figcaption strong{display:block;color:var(--text);font-family:var(--font-display);font-size:14px;margin-bottom:4px}
@media(max-width:899px){.visual-note-grid{grid-template-columns:1fr}.visual-note img{aspect-ratio:16/9}}
