/* Light homepage: warm white surfaces, emerald accents, and the original green field. */
:root[data-theme="light"] .cb-landing {
  --cb-bg: var(--theme-bg);
  --cb-panel: var(--theme-surface);
  --cb-green: var(--theme-accent);
  --cb-muted: var(--theme-muted);
  color: var(--theme-text);
  background: radial-gradient(ellipse 75% 680px at 74% 170px, #d3eee18c, transparent), var(--theme-bg);
}

:root[data-theme="light"] .cb-landing .cb-nav {
  border-color: var(--theme-border);
  background: linear-gradient(115deg, #ffffffed, #f6fbf8f5);
  box-shadow: 0 12px 36px #194a2f07, inset 0 1px #fff;
}
:root[data-theme="light"] .cb-landing :is(.cb-nav-links a, .cb-landing-login) { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing :is(.cb-nav-links a:hover, .cb-landing-login:hover) { color: var(--theme-accent); }
:root[data-theme="light"] .cb-landing .cb-nav-links { border-color: var(--theme-border); }
:root[data-theme="light"] .cb-landing .cb-brand { color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-skip:focus { background: var(--theme-accent); color: #fff; }

:root[data-theme="light"] .cb-landing .cb-hero::before {
  background: radial-gradient(ellipse at 70% 50%, #a8dcc230, transparent 65%);
}
:root[data-theme="light"] .cb-landing .cb-hero::after {
  background-image: radial-gradient(#16825726 .7px, transparent .7px);
}
:root[data-theme="light"] .cb-landing .cb-eyebrow { color: var(--theme-accent); }
:root[data-theme="light"] .cb-landing .cb-landing-live-dot {
  background: var(--theme-accent);
  box-shadow: 0 0 0 5px #087b550c, 0 0 20px #087b5524;
}
:root[data-theme="light"] .cb-landing .cb-hero h1 .cb-accent {
  color: var(--theme-accent);
  background-image: linear-gradient(110deg, #0a714b, #089169 60%, #087d75);
}
:root[data-theme="light"] .cb-landing .cb-hero h1 .cb-title-dot { -webkit-text-fill-color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-hero-tagline { color: #365c4d; }
:root[data-theme="light"] .cb-landing .cb-muted { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-button-primary {
  color: #fff;
  border-color: #08744f;
  background: linear-gradient(115deg, #0b865b, #087b55 80%);
  box-shadow: inset 0 1px #ffffff24, 0 7px 22px #087b551c;
}
:root[data-theme="light"] .cb-landing .cb-button-primary:hover {
  color: #fff;
  background: linear-gradient(115deg, #08764f, var(--theme-accent-hover));
  box-shadow: 0 10px 26px #087b5529;
}
:root[data-theme="light"] .cb-landing .cb-text-link { color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-text-link:hover { color: var(--theme-accent); }
:root[data-theme="light"] .cb-landing .cb-landing-play {
  color: var(--theme-accent);
  border-color: #b6d8c7;
  background: #e9f5ee;
}
:root[data-theme="light"] .cb-landing .cb-landing-formats > span {
  background: #e9f3ed;
  border-color: #c7dfd1;
  color: #33674f;
}
:root[data-theme="light"] .cb-landing .cb-landing-formats p { color: var(--theme-muted); }

/* The stadium remains an emerald illustration, rather than inheriting dark ink. */
:root[data-theme="light"] .cb-landing .cb-hero-art { --cb-green: #74edbd; }
:root[data-theme="light"] .cb-landing .cb-field-card {
  color: #e3f3e8;
  border-color: #347650;
  box-shadow: 0 28px 55px #173f2c24, 0 6px 16px #173f2c10, inset 0 1px #eaffd835;
}
:root[data-theme="light"] .cb-landing .cb-art-orbit-one { border-color: #36976124; }
:root[data-theme="light"] .cb-landing .cb-art-orbit-two { border-color: #36976117; }
:root[data-theme="light"] .cb-landing .cb-art-caption { color: #526f5c; }
:root[data-theme="light"] .cb-landing .cb-floating-card {
  --cb-green: var(--theme-accent);
  background: linear-gradient(125deg, #fffffff5, #f2faf5fa);
  border-color: #bfd9c9;
  box-shadow: 0 15px 32px #193d2921, inset 0 1px #fff;
}
:root[data-theme="light"] .cb-landing .cb-floating-card strong { color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-floating-card div > span { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-floating-icon {
  color: var(--theme-accent);
  border-color: #b8d8c6;
  background: #e3f3e9;
}
:root[data-theme="light"] .cb-landing .cb-captain-card > b { color: var(--theme-accent); }

:root[data-theme="light"] .cb-landing .cb-stats {
  border-color: var(--theme-border);
  background: linear-gradient(110deg, #fff, #f1f8f3);
  box-shadow: inset 0 1px #fff, 0 12px 30px #1b4d2e05;
}
:root[data-theme="light"] .cb-landing .cb-stat { border-color: var(--theme-border); }
:root[data-theme="light"] .cb-landing .cb-stat strong { color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-stat span { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-step {
  border-color: var(--theme-border);
  background: radial-gradient(ellipse at 10% 0, #dfefe480, transparent 65%), #fff;
  box-shadow: inset 0 1px #fff, 0 10px 28px #204b3006;
}
:root[data-theme="light"] .cb-landing .cb-step:hover {
  border-color: #87bca1;
  box-shadow: inset 0 1px #fff, 0 15px 32px #204b3010;
}
:root[data-theme="light"] .cb-landing .cb-step-top { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-step-top > span:last-child {
  color: var(--theme-accent);
  border-color: var(--theme-border);
  background: #f2f8f4;
}
:root[data-theme="light"] .cb-landing .cb-step-graphic strong { color: var(--theme-accent); text-shadow: none; }
:root[data-theme="light"] .cb-landing .cb-step-graphic > span { color: #54785f; }
:root[data-theme="light"] .cb-landing .cb-graphic-ring {
  border-color: #40986924;
  background: radial-gradient(circle, #8fceab1f, transparent 68%);
  box-shadow: 0 0 0 17px #40986904, 0 0 0 18px #40986913, 0 0 0 33px #40986902, 0 0 0 34px #4098690a;
}
:root[data-theme="light"] .cb-landing :is(.cb-step h3, .cb-rule-callout strong) { color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-rule-callout {
  border-color: var(--theme-border);
  border-left-color: var(--theme-accent);
  background: linear-gradient(120deg, #e7f3ea, #f5faf6);
}
:root[data-theme="light"] .cb-landing .cb-rule-callout p { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-accordion {
  border-color: var(--theme-border);
  background: #fff;
  box-shadow: 0 2px 8px #16472a03;
}
:root[data-theme="light"] .cb-landing .cb-accordion[open] {
  border-color: #aacdb8;
  background: linear-gradient(135deg, #f4faf6, #fff 70%);
}
:root[data-theme="light"] .cb-landing .cb-accordion summary { color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-accordion summary:hover,
:root[data-theme="light"] .cb-landing .cb-accordion[open] > summary { color: var(--theme-accent); }
:root[data-theme="light"] .cb-landing .cb-plus {
  color: var(--theme-accent);
  background: #edf6f0;
  border-color: #c7ddcf;
}
:root[data-theme="light"] .cb-landing .cb-accordion-number { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-role-grid > span {
  color: var(--theme-muted);
  border-color: #d3e3d9;
  background: #eef6f1;
}
:root[data-theme="light"] .cb-landing .cb-role-grid strong { color: var(--theme-text); }

:root[data-theme="light"] .cb-landing .cb-scoring-section {
  border-color: #d4e3d9;
  background: radial-gradient(ellipse at 50% 0, #cee8d840, transparent 60%), #edf4ef;
}
:root[data-theme="light"] .cb-landing .cb-score-highlight {
  border-color: var(--theme-border);
  background: linear-gradient(135deg, #fff, #f7fbf8);
  box-shadow: inset 0 1px #fff, 0 10px 25px #204b3005;
}
:root[data-theme="light"] .cb-landing .cb-score-highlight::before {
  background: linear-gradient(90deg, transparent, #71aa85a0, transparent);
}
:root[data-theme="light"] .cb-landing :is(.cb-score-highlight > .cb-mono, .cb-score-number > span) { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing :is(.cb-score-number, .cb-demo-result > strong) { color: var(--theme-accent); text-shadow: none; }
:root[data-theme="light"] .cb-landing :is(.cb-score-highlight h3, .cb-score-demo h3, .cb-score-demo p strong, .cb-scoring-details-heading h3) { color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-score-demo {
  border-color: #bfd8c8;
  background: radial-gradient(ellipse at 95% 50%, #cfe9d84a, transparent 65%), #fff;
  box-shadow: inset 0 1px #fff, 0 12px 30px #204b3007;
}
:root[data-theme="light"] .cb-landing .cb-multiplier-options button {
  color: #426552;
  border-color: #c4d9cc;
  background: #f3f8f5;
}
:root[data-theme="light"] .cb-landing .cb-multiplier-options button:hover {
  border-color: var(--theme-accent);
  background: #e7f3ec;
}
:root[data-theme="light"] .cb-landing .cb-multiplier-options button[aria-pressed="true"] {
  color: #fff;
  border-color: #087b55;
  background: linear-gradient(120deg, #0b865b, #087b55);
  box-shadow: 0 3px 12px #087b5517;
}
:root[data-theme="light"] .cb-landing .cb-demo-result { border-color: var(--theme-border); }
:root[data-theme="light"] .cb-landing :is(.cb-demo-result > .cb-mono, .cb-demo-result > span:not(.cb-mono)) { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-demo-result > .cb-demo-equation { color: var(--theme-muted) !important; }
:root[data-theme="light"] .cb-landing .cb-scoring-details-heading > span {
  color: #426652;
  border-color: #c2d8ca;
  background: #f8fcf9;
}
:root[data-theme="light"] .cb-landing :is(.cb-small-note, .cb-landing-playbook-intro) { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-landing-scoring-format {
  border-color: var(--theme-border);
  background: #f9fcfa;
  box-shadow: inset 0 1px #fff;
}
:root[data-theme="light"] .cb-landing .cb-landing-scoring-format[open] { border-color: #a6cab5; }
:root[data-theme="light"] .cb-landing :is(.cb-landing-format-label strong, .cb-landing-format-action) { color: var(--theme-accent); }
:root[data-theme="light"] .cb-landing .cb-landing-format-label > span { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-score-table th { color: #476c57; background: #edf5ef; }
:root[data-theme="light"] .cb-landing .cb-score-table td { color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-score-table td:last-child { color: var(--theme-accent); }
:root[data-theme="light"] .cb-landing .cb-score-table td.is-negative { color: var(--theme-danger); }
:root[data-theme="light"] .cb-landing .cb-score-table :is(th, td) { border-color: #dce8e0; }
:root[data-theme="light"] .cb-landing .cb-score-table tbody tr:nth-child(odd) { background: #f3f8f540; }

:root[data-theme="light"] .cb-landing .cb-landing-league {
  border-color: var(--theme-border);
  background: radial-gradient(ellipse at 90% 0, #d9eddf77, transparent 70%), linear-gradient(135deg, #fff, #f3f8f4);
  box-shadow: inset 0 1px #fff, 0 18px 45px #204b3007;
}
:root[data-theme="light"] .cb-landing :is(.cb-landing-league-copy > p:not(.cb-eyebrow), .cb-landing-benefits p) { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-landing-benefits li > span {
  color: var(--theme-accent);
  border-color: #c7ddcf;
  background: #eaf5ee;
}
:root[data-theme="light"] .cb-landing .cb-landing-benefits strong { color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-landing-inline-arrow { color: var(--theme-accent); }
:root[data-theme="light"] .cb-landing .cb-landing-league-preview {
  border-color: #bad5c5;
  background: radial-gradient(ellipse at 50% 20%, #d4eadb70, transparent 65%), #fff;
  box-shadow: 0 18px 35px #1a462614, inset 0 1px #fff;
}
:root[data-theme="light"] .cb-landing .cb-landing-league-preview-top { color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-landing-league-symbol {
  color: #6a5d16;
  background: #f6f4de;
  border-color: #dfd9af;
}
:root[data-theme="light"] .cb-landing .cb-landing-league-preview-top small { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-landing-preview-label { color: var(--theme-muted); border-color: var(--theme-border); }
:root[data-theme="light"] .cb-landing .cb-landing-podium > div {
  border-color: #c3ddcb;
  background: linear-gradient(180deg, #dcefe1, #f3f9f5);
}
:root[data-theme="light"] .cb-landing .cb-landing-podium > div:nth-child(2) {
  border-color: #bed3a4;
  background: linear-gradient(180deg, #e5edcc, #f4f8e8);
  box-shadow: 0 -10px 30px #759c5010;
}
:root[data-theme="light"] .cb-landing .cb-landing-podium span { color: #3f7353; }
:root[data-theme="light"] .cb-landing .cb-landing-podium > div:nth-child(2) > span { color: #506723; }
:root[data-theme="light"] .cb-landing .cb-landing-podium :is(i, b) { color: #526b42; }
:root[data-theme="light"] .cb-landing .cb-landing-league-row { color: var(--theme-muted); border-bottom-color: #dce8df; }
:root[data-theme="light"] .cb-landing .cb-landing-league-row.is-you {
  border-color: #abd1b8;
  background: linear-gradient(90deg, #e6f4eb, #f3faf5);
}
:root[data-theme="light"] .cb-landing .cb-landing-mini-avatar { color: #306448; border-color: #c2dccb; background: #e4f1e9; }
:root[data-theme="light"] .cb-landing .cb-landing-league-row strong { color: var(--theme-text); }
:root[data-theme="light"] .cb-landing .cb-landing-league-row small { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-landing-you { color: #12633e; background: #d4ecde; }
:root[data-theme="light"] .cb-landing .cb-landing-preview-note { color: var(--theme-muted); }

:root[data-theme="light"] .cb-landing .cb-finale {
  border-color: #bfd6c6;
  background: radial-gradient(ellipse at 50% 125%, #bddfc966, transparent 70%), linear-gradient(140deg, #f8fcf9, #eaf5ee);
  box-shadow: inset 0 1px #fff, 0 18px 40px #204b3007;
}
:root[data-theme="light"] .cb-landing .cb-finale .cb-eyebrow { color: var(--theme-accent); }
:root[data-theme="light"] .cb-landing .cb-finale > .cb-text-link { color: #476c57; }
:root[data-theme="light"] .cb-landing .cb-finale-rings {
  border-color: #3f8d5a13;
  box-shadow: 0 0 0 49px #3f8d5a02, 0 0 0 50px #3f8d5a0c, 0 0 0 100px #3f8d5a02, 0 0 0 101px #3f8d5a09;
}
:root[data-theme="light"] .cb-landing .cb-footer { border-color: var(--theme-border); }
:root[data-theme="light"] .cb-landing :is(.cb-footer p, .cb-footer > span, .cb-footer a:not(.cb-brand)) { color: var(--theme-muted); }
:root[data-theme="light"] .cb-landing .cb-footer a:hover { color: var(--theme-accent); }
:root[data-theme="light"] .cb-landing :is(a, button, summary):focus-visible { outline-color: var(--theme-accent); }
