
:root { --primary: #0F766E; --accent: #2DD4BF; --bg: #F0FDFA; --text: #102A27; --muted: #667085; --surface: #FFFFFF; --border: #EAECF0; --radius: 10px; --radius-lg: 14px; --shadow-sm: 0 1px 3px rgba(15,118,110,0.08); --shadow-md: 0 4px 16px rgba(15,118,110,0.12); --shadow-lg: 0 12px 32px rgba(15,118,110,0.18); --gap: 16px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; font-size: 17px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
h1 { font-size: 44px; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--text); }
h2 { font-size: 30px; line-height: 1.25; font-weight: 700; margin-bottom: 14px; margin-top: 24px; color: var(--text); }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--text); }
p { margin-bottom: 14px; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 8px; font-weight: 600; font-size: 16px; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #0a5d57; transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn-accent { background: var(--accent); color: #0a3a37; }
.btn-accent:hover { background: #14b8a6; color: #fff; transform: translateY(-1px); text-decoration: none; }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* Topbar */
.topbar { background: var(--primary); color: #fff; padding: 7px 0; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar .badge { background: var(--accent); color: #0a3a37; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.topbar .social a { color: #fff; margin-left: 8px; opacity: 0.85; }

/* Header — sticky */
header.site { background: var(--surface); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; border-bottom: 2px solid var(--primary); }
header.site .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
header.site .logo { font-weight: 800; font-size: 22px; }
header.site .logo .cs { color: var(--primary); }
header.site .logo .tm { color: var(--accent); font-size: 14px; }
nav.main a { margin: 0 12px; color: var(--text); font-weight: 500; font-size: 15px; text-decoration: none; }
nav.main a:hover { color: var(--primary); }
nav.main a.nav-pri { color: var(--primary); font-weight: 700; position: relative; }
nav.main a.nav-pri::after { content: '★'; position: absolute; top: -8px; right: -12px; font-size: 10px; color: var(--accent); }

/* Breadcrumb */
.breadcrumb { padding: 10px 0; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { margin: 0 8px; color: var(--accent); }

/* SCOREBOARD HERO — V8 LAYOUT 018 signature */
.scoreboard-hero { background: linear-gradient(135deg, var(--bg) 0%, #ffffff 50%, var(--bg) 100%); padding: 40px 0 32px; border-bottom: 1px solid var(--border); }
.scoreboard-hero .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.hero-tag { display: inline-block; background: var(--primary); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 12px; }
.hero-content h1 { background: linear-gradient(135deg, var(--text) 0%, var(--primary) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-content p.lede { font-size: 18px; color: var(--muted); margin-bottom: 20px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; padding: 16px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.hero-stat { text-align: center; padding: 8px; border-right: 1px solid var(--border); }
.hero-stat:last-child { border-right: none; }
.hero-stat strong { display: block; color: var(--primary); font-size: 22px; font-weight: 800; margin-bottom: 2px; }
.hero-stat span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.cta-pair { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-visual img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* Disclaimer */
.disclaimer { background: #FEF3C7; border: 1px solid #FBBF24; padding: 10px 16px; border-radius: 6px; font-size: 12px; margin: 12px auto; max-width: 1180px; line-height: 1.5; }

/* Sections */
section { padding: 32px 0; }
section.alt { background: var(--surface); }

/* Why site block */
.why-site h2 { color: var(--primary); margin-bottom: 12px; }
.why-site p { font-size: 16px; line-height: 1.7; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; padding: 20px; background: var(--surface); border-radius: var(--radius); border: 2px solid var(--primary); box-shadow: var(--shadow-md); }
.stat-cell { text-align: center; padding: 12px; border-right: 1px solid var(--border); }
.stat-cell:last-child { border-right: none; }
.stat-cell strong { display: block; color: var(--primary); font-size: 28px; font-weight: 800; }
.stat-cell span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Hub tile grid */
.hub-card-section { padding: 32px 0; }
.hub-card-section.primary { background: var(--surface); }
.hub-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hub-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: all 0.2s; position: relative; }
.hub-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.hub-tile.primary-tile { border: 2px solid var(--primary); background: linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%); }
.hub-tile h3 { color: var(--primary); margin-bottom: 8px; font-size: 18px; }
.hub-tile p { font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.tile-tag { display: inline-block; background: var(--accent); color: #0a3a37; padding: 2px 8px; border-radius: 3px; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 8px; }

/* Brand block */
.brand-block { background: var(--surface); padding: 40px 0; }
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.brand-grid h2 { color: var(--primary); margin-bottom: 12px; }
.brand-grid img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* Winners block */
.winners-block-section { background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 100%); }
.winner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.winner-tile { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 20px; }
.win-amt { display: block; font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.win-quote { font-style: italic; color: var(--muted); margin-bottom: 8px; font-size: 14px; line-height: 1.6; }
.win-meta { color: var(--primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin: 0; }

/* TOC */
.toc-section { background: var(--surface); padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.toc-section ol { columns: 2; column-gap: 24px; list-style: decimal; padding-left: 20px; }
.toc-section li { margin-bottom: 6px; break-inside: avoid; }
.toc-section a { color: var(--text); font-size: 14px; }
.toc-section a:hover { color: var(--primary); }

/* Longform */
.longform { max-width: 800px; margin: 0 auto; }
.longform h2 { color: var(--primary); margin-top: 32px; padding-top: 16px; border-top: 2px solid var(--accent); }
.longform h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.longform p { font-size: 17px; line-height: 1.75; margin-bottom: 16px; }
.longform img.banner-img { width: 100%; height: auto; max-height: 480px; object-fit: cover; border-radius: var(--radius); margin: 20px 0; box-shadow: var(--shadow-sm); }

/* Inline CTA */
.inline-cta { background: linear-gradient(135deg, var(--primary) 0%, #14b8a6 100%); color: #fff; padding: 28px; text-align: center; border-radius: var(--radius-lg); margin: 24px auto; max-width: 800px; box-shadow: var(--shadow-lg); }
.inline-cta h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.inline-cta p { color: #E6FFFA; margin-bottom: 14px; }
.inline-cta .btn-primary { background: #fff; color: var(--primary); }
.inline-cta .btn-primary:hover { background: var(--accent); color: #0a3a37; }
.inline-cta .btn-outline { border-color: #fff; color: #fff; }
.inline-cta .btn-outline:hover { background: #fff; color: var(--primary); }

/* FAQ */
.faq-list { margin: 12px 0; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; padding: 0 16px; }
.faq-item summary { font-weight: 600; cursor: pointer; padding: 12px 0; color: var(--text); list-style: none; }
.faq-item summary:hover { color: var(--primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .answer { padding: 0 0 14px; color: var(--muted); line-height: 1.65; }

/* Footer */
footer { background: #042F2C; color: #B2F5EA; padding: 40px 0 12px; margin-top: 32px; }
footer .container { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
footer .footer-heading { color: var(--accent); font-size: 13px; margin-bottom: 10px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
footer ul { list-style: none; }
footer li { margin-bottom: 5px; }
footer a { color: #99F6E4; text-decoration: none; font-size: 14px; }
footer a:hover { color: var(--accent); }
footer .legal-bar { grid-column: 1 / -1; border-top: 1px solid #0a5d57; padding-top: 12px; margin-top: 16px; font-size: 12px; color: #5EEAD4; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer .footer-brand p { font-size: 13px; line-height: 1.6; }

/* Skip link + focus */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary); color: #fff; padding: 8px 16px; z-index: 9999; font-weight: 600; }
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Responsive */
@media (max-width: 1024px) { .hub-grid-3 { grid-template-columns: repeat(2, 1fr); } .stat-row { grid-template-columns: repeat(2, 1fr); } .winner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { h1 { font-size: 32px; } h2 { font-size: 24px; } .container { padding: 0 16px; } .scoreboard-hero .container { grid-template-columns: 1fr; gap: 20px; } .scoreboard-hero { padding: 24px 0; } .hero-stats { grid-template-columns: 1fr; } .hero-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 8px; } .hero-stat:last-child { border-bottom: none; } .brand-grid { grid-template-columns: 1fr; } .hub-grid-3 { grid-template-columns: 1fr; } .stat-row { grid-template-columns: 1fr 1fr; } .stat-cell { border-right: none; border-bottom: 1px solid var(--border); padding: 8px; } .winner-grid { grid-template-columns: 1fr; } .toc-section ol { columns: 1; } footer .container { grid-template-columns: 1fr 1fr; } nav.main { display: none; } .cta-pair { flex-direction: column; align-items: stretch; } .cta-pair a { text-align: center; } }
@media (max-width: 480px) { h1 { font-size: 28px; } .hero-content h1 { font-size: 28px; } }

/* MOBILE MENU — V8 LAYOUT 018 Scoreboard Portal */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--primary); font-size: 24px; }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav.main {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 99;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 16px; border-bottom: 1px solid var(--border); margin: 0; }
  nav.main a:last-child { border-bottom: none; }
  nav.main a.nav-pri::after { display: none; }
}


/* BLOG SECTION — distinct background */
.blog-section { background: var(--surface); padding: 32px 0; border-top: 1px solid var(--border); }
.blog-section h2 { color: var(--primary); margin-bottom: 8px; }
.blog-section p:first-of-type { color: var(--muted); margin-bottom: 20px; font-size: 16px; }

/* Make hub-tile article a bit taller + equal heights */
.hub-tile { display: flex; flex-direction: column; }
.hub-tile p:last-of-type { margin-top: auto; }
.hub-tile article { display: flex; flex-direction: column; }

/* Hero-visual: hide overflow on mobile so it doesn't bleed */
.hero-visual { overflow: hidden; border-radius: var(--radius); }

/* nav.main: avoid horizontal scroll on mobile */
header.site .container { overflow: visible; }
nav.main { display: flex; flex-wrap: wrap; }

/* Longform section spacing */
.longform h2:first-of-type { margin-top: 16px; }

/* Reduce visual gap between FAQ items */
.faq-item { transition: all 0.2s; }
.faq-item:hover { border-color: var(--primary); }

/* Better mobile hero stats layout */
@media (max-width: 480px) {
  .scoreboard-hero { padding: 20px 0; }
  .hero-content h1 { font-size: 26px; }
  .hero-stats { padding: 8px; }
  .hero-stat strong { font-size: 18px; }
  .hero-stat span { font-size: 11px; }
  .cta-pair a { font-size: 14px; padding: 10px 16px; }
  .hub-tile { padding: 14px; }
  .hub-tile h3 { font-size: 16px; }
  .blog-section h2 { font-size: 22px; }
}
