@media screen {
/* Homepage color palettes; original geometry is preserved. */
:root:is([data-theme=light],[data-theme=vivid]) {
    --concept-page:#fff;
    --concept-text:#112442;
    --concept-muted:#53647d;
    --concept-panel:#102449;
    --concept-raised:#19365d;
    --concept-inset:#213f68;
    --concept-on:#fff;
    --concept-secondary:#c6d4eb;
    --concept-line:#395477;
    --concept-accent:#ff917a;
    --concept-chart:#80a9ff;
    background:var(--concept-page);
    color:var(--concept-text);
}
:root[data-theme=vivid] {
    --concept-page:#090a0c;
    --concept-text:#f6f7fa;
    --concept-muted:#b7bfcc;
    --concept-panel:#15181d;
    --concept-raised:#20252d;
    --concept-inset:#2a313d;
    --concept-on:#f8f9fc;
    --concept-secondary:#c0c8d5;
    --concept-line:#3c4553;
    --concept-accent:#ff967c;
    --concept-chart:#88aaff;
    --blue:#85a6ff;
    --ink:#f6f7fa;
    --muted:#b7bfcc;
    --line:#343b46;
    --surface:#20252d;
    color-scheme:dark;
}
:root:is([data-theme=light],[data-theme=vivid]) .home-content {--home-ink:var(--concept-text);--home-muted:var(--concept-muted)}
:root:is([data-theme=light],[data-theme=vivid]) .home-content .eyebrow {color:#d5432c}
:root[data-theme=vivid] .home-content .eyebrow {color:var(--concept-accent)}
:root:is([data-theme=light],[data-theme=vivid]) :is(.home-intro,.home-live-board,.home-winner,.home-certificate-panel,.home-tool-card,.home-gpx-feature,.home-connect,.home-staff,.service-value,.promo-card) {
    background:var(--concept-panel);
    border-color:var(--concept-line);
    color:var(--concept-on);
}
:root:is([data-theme=light],[data-theme=vivid]) :is(.home-intro,.home-live-board,.home-winner,.home-certificate-panel,.home-tool-card,.home-gpx-feature,.home-connect,.home-staff,.service-value,.promo-card) :is(h2,h3,strong,.home-link,.home-more) {color:var(--concept-on)}
:root:is([data-theme=light],[data-theme=vivid]) :is(.home-intro,.home-live-board,.home-winner,.home-certificate-panel,.home-tool-card,.home-gpx-feature,.home-connect,.home-staff,.promo-card) :is(p,small,.home-preview-caption,.home-journey,.home-winner-label,.home-winner-course,.home-winner-stats span,.home-live-columns,.home-live-bottom,.home-position,.home-gpx-label,.home-gpx-features,.home-preview-metrics>span,.home-plan-key,.home-week-preview small,.home-live-athlete small,.home-live-pace small,.home-live-checkpoint,.home-live-passed>small,.home-live-elapsed>small,.home-staff-copy li>.number) {color:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) :is(.home-intro,.home-live-board,.home-winner,.home-certificate-panel,.home-tool-card,.home-gpx-feature,.home-connect,.home-staff,.promo-card) .eyebrow {color:var(--concept-accent)}
:root:is([data-theme=light],[data-theme=vivid]) :is(.home-journey,.home-winner-stats,.home-live-row,.home-live-bottom,.home-plan-bars,.home-race-action) {border-color:var(--concept-line)}
:root:is([data-theme=light],[data-theme=vivid]) .home-intro::before {opacity:.12;mix-blend-mode:screen}
:root:is([data-theme=light],[data-theme=vivid]) .home-marketing {background:#245bff;color:#fff}
:root:is([data-theme=light],[data-theme=vivid]) .home-marketing .eyebrow,:root:is([data-theme=light],[data-theme=vivid]) .home-marketing p:not(.eyebrow) {color:#fff}
:root:is([data-theme=light],[data-theme=vivid]) .home-marketing-links .home-link:hover {color:#fff;text-decoration:underline}
:root:is([data-theme=light],[data-theme=vivid]) .home-live-board .home-live-board-heading {background:var(--concept-raised)}
:root:is([data-theme=light],[data-theme=vivid]) :is(.home-live-label,.home-demo-label) {background:var(--concept-inset);color:var(--concept-on);border-color:var(--concept-line)}
:root:is([data-theme=light],[data-theme=vivid]) .home-live-row:hover {background:var(--concept-raised)}
:root:is([data-theme=light],[data-theme=vivid]) .home-live-bottom {background:var(--concept-raised)}
:root:is([data-theme=light],[data-theme=vivid]) .home-live-row:nth-child(2) .home-position {color:var(--concept-accent)}
:root:is([data-theme=light],[data-theme=vivid]) .home-live-updated,:root:is([data-theme=light],[data-theme=vivid]) .home-live-updated strong {color:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .home-winner-medal {background:var(--concept-inset);color:var(--concept-on)}
:root:is([data-theme=light],[data-theme=vivid]) .home-chart {color:var(--concept-on)}
:root:is([data-theme=light],[data-theme=vivid]) .home-chart :is(.section-title h3,.pace-chart-legend,.chart-label,.muted) {color:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .home-chart svg text,:root:is([data-theme=light],[data-theme=vivid]) .home-chart svg text.rank-axis {fill:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .home-chart-grid {stroke:var(--concept-line)}
:root:is([data-theme=light],[data-theme=vivid]) .home-chart-line {stroke:var(--concept-chart)}
:root:is([data-theme=light],[data-theme=vivid]) .home-chart-dot {stroke:var(--concept-panel)}
:root:is([data-theme=light],[data-theme=vivid]) .home-certificate-preview {background:var(--concept-raised);color:var(--concept-on);border-color:var(--concept-line);outline-color:var(--concept-line)}
:root:is([data-theme=light],[data-theme=vivid]) .home-certificate-rule {background:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .home-tool-card .home-tool-preview {background:var(--concept-raised)}
:root:is([data-theme=light],[data-theme=vivid]) .home-tool-card:hover {border-color:var(--concept-accent)}
:root:is([data-theme=light],[data-theme=vivid]) .home-pace-answer {background:var(--concept-panel);border-color:var(--concept-line)}
:root:is([data-theme=light],[data-theme=vivid]) .home-pace-answer>span {color:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .home-pace-answer>strong {color:var(--concept-on)}
:root:is([data-theme=light],[data-theme=vivid]) .home-week-preview b {background:var(--concept-panel);color:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .home-week-preview b.is-run {background:#3268eb;color:#fff}
:root:is([data-theme=light],[data-theme=vivid]) .home-plan-bars>span {background:#85a8ff}
:root:is([data-theme=light],[data-theme=vivid]) .home-plan-bars>span.is-recovery {background:#426493}
:root:is([data-theme=light],[data-theme=vivid]) .home-plan-bars>span.is-taper {background:#ff917a}
:root:is([data-theme=light],[data-theme=vivid]) .home-plan-key i {background:#85a8ff}
:root:is([data-theme=light],[data-theme=vivid]) .home-record-poster {background:#245bff;border-color:#82a3ff;color:#fff}
:root:is([data-theme=light],[data-theme=vivid]) .home-gpx-copy>p,:root:is([data-theme=light],[data-theme=vivid]) .home-gpx-features,:root:is([data-theme=light],[data-theme=vivid]) .home-gpx-label {color:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .home-gpx-copy>.eyebrow {color:var(--concept-accent)}
:root:is([data-theme=light],[data-theme=vivid]) .home-gpx-action {color:var(--concept-on);border-color:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .home-gpx-feature:hover {border-color:var(--concept-accent)}
:root:is([data-theme=light],[data-theme=vivid]) .home-race-card {background:var(--concept-panel)!important;border-color:var(--concept-line)!important;color:var(--concept-on)}
:root:is([data-theme=light],[data-theme=vivid]) .home-race-card[data-card-kv]::before {background-color:var(--concept-panel)!important;background-blend-mode:multiply!important;opacity:.35}
:root:is([data-theme=light],[data-theme=vivid]) .home-race-card :is(p,.home-race-meta,.home-race-date span) {color:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .home-course-tags span {background:var(--concept-inset);border-color:var(--concept-line);color:var(--concept-on)}
:root:is([data-theme=light],[data-theme=vivid]) .home-race-card:hover .home-race-action {color:var(--concept-accent)}
:root:is([data-theme=light],[data-theme=vivid]) .home-platform-preview {background:var(--concept-raised);border-color:var(--concept-line);color:var(--concept-on);box-shadow:12px 12px 0 var(--concept-inset)}
:root:is([data-theme=light],[data-theme=vivid]) .home-platform-brand {border-color:var(--concept-line);color:var(--concept-on)}
:root:is([data-theme=light],[data-theme=vivid]) .home-platform-brand>span:last-child,:root:is([data-theme=light],[data-theme=vivid]) .home-platform-heading>span {color:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .home-platform-grid>span {background:var(--concept-panel);border-color:var(--concept-line);color:var(--concept-on)}
:root:is([data-theme=light],[data-theme=vivid]) .home-platform-grid>span:nth-child(4) {background:#245bff;border-color:#648cff;color:#fff}
:root:is([data-theme=light],[data-theme=vivid]) .home-platform-data {background:var(--concept-panel)}
:root:is([data-theme=light],[data-theme=vivid]) .home-platform-live {color:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .home-platform-line {stroke:var(--concept-chart)}
:root:is([data-theme=light],[data-theme=vivid]) .home-platform-area {fill:var(--concept-chart);opacity:.12}
:root:is([data-theme=light],[data-theme=vivid]) .service-value {background:var(--concept-panel)}
:root:is([data-theme=light],[data-theme=vivid]) .service-value .eyebrow {color:#b7ccff}
:root:is([data-theme=light],[data-theme=vivid]) .service-value-copy>p:not(.eyebrow),:root:is([data-theme=light],[data-theme=vivid]) .service-value-price>span,:root:is([data-theme=light],[data-theme=vivid]) .service-value-price p {color:var(--concept-secondary)}
:root:is([data-theme=light],[data-theme=vivid]) .service-value .service-value-price strong {color:var(--concept-accent)}
:root:is([data-theme=light],[data-theme=vivid]) .service-value-price {border-color:var(--concept-line)}
:root:is([data-theme=light],[data-theme=vivid]) .service-value-link {color:var(--concept-on)}
:root:is([data-theme=light],[data-theme=vivid]) .promo-card-heading,:root:is([data-theme=light],[data-theme=vivid]) .promo-footer {background:var(--concept-raised);color:var(--concept-on);border-color:var(--concept-line)}
:root:is([data-theme=light],[data-theme=vivid]) .promo-live {color:var(--concept-accent)}
:root:is([data-theme=light],[data-theme=vivid]) .promo-legend {color:var(--concept-secondary)}
:root[data-theme=vivid] .home-training-method {background:var(--concept-panel);color:var(--concept-secondary);border-color:var(--concept-line)}
:root[data-theme=vivid] .home-training-method summary {color:var(--concept-on)}
:root[data-theme=vivid] .home-training-body {background:var(--concept-raised);border-color:var(--concept-line)}
:root[data-theme=vivid] :is(.header,.site-header,.footer) {background:var(--concept-page);color:var(--concept-text);border-color:var(--line)}
:root[data-theme=vivid] .site-header::before,:root[data-theme=vivid] .site-header.is-floating::before {background:var(--concept-page)!important}
:root[data-theme=vivid].has-site-kv::before {background-image:linear-gradient(#090a0cdd,#090a0cfa),var(--site-kv-image);opacity:.55}
:root[data-theme=vivid] .site-brand img,:root[data-theme=vivid] .footer img {filter:brightness(0) invert(1)}
:root[data-theme=vivid] .icon-link img {filter:brightness(0) invert(1)}
:root[data-theme=vivid] .site-header :is(a,button) {color:var(--concept-text)}
:root[data-theme=vivid] .account-icon img {filter:brightness(0) invert(1)}
:root[data-theme=vivid] .home-training-method summary::after {filter:invert(1)}
:root[data-theme=vivid] .footer :is(p,small,a) {color:var(--concept-secondary)}
:root[data-theme=vivid] .promo-intro {color:var(--concept-muted)}
:root[data-theme=vivid] .home-empty-copy {color:var(--concept-muted)}
:root[data-theme=vivid] .home-section-heading>.home-link {color:var(--concept-text)}
/* Preserve the live site's color families instead of painting every surface navy. */
:root:is([data-theme=light],[data-theme=vivid]) :is(.home-intro,.home-live-board,.home-gpx-feature,.home-staff),
:root:is([data-theme=light],[data-theme=vivid]) .home-race-card {
    --concept-panel:#174b3c;
    --concept-raised:#245e4c;
    --concept-inset:#306e59;
    --concept-line:#4a806b;
    --concept-secondary:#d1e8dc;
    --concept-chart:#9eddbb;
}
:root:is([data-theme=light],[data-theme=vivid]) .home-winner {
    --concept-panel:#194e49;
    --concept-raised:#25635c;
    --concept-inset:#33746b;
    --concept-line:#4d8178;
    --concept-secondary:#d2e9e2;
    --concept-chart:#a0d9cb;
}
:root:is([data-theme=light],[data-theme=vivid]) :is(.home-certificate-panel,.home-connect) {
    --concept-panel:#70452f;
    --concept-raised:#89583c;
    --concept-inset:#9a6847;
    --concept-line:#ab7c59;
    --concept-secondary:#f4dfcb;
    --concept-chart:#f2c59b;
}
:root:is([data-theme=light],[data-theme=vivid]) .promo-card {
    --concept-panel:#164a7b;
    --concept-raised:#205d94;
    --concept-inset:#3472a9;
    --concept-line:#5385b0;
    --concept-secondary:#dceaff;
    --concept-chart:#a0c8ff;
}
:root:is([data-theme=light],[data-theme=vivid]) .home-marketing {background:#ee5d44}
:root[data-theme=light] .home-tool-card {
    --concept-panel:#fff;
    --concept-on:#172536;
    --concept-secondary:#536173;
    --concept-line:#d4dce3;
    --concept-accent:#b93925;
}
:root:is([data-theme=light],[data-theme=vivid]) .home-tool-card .home-tool-preview {
    --concept-on:#fff;
    --concept-secondary:#dceaff;
    --concept-accent:#ffd3bf;
}
:root:is([data-theme=light],[data-theme=vivid]) .home-tool-pace .home-tool-preview {
    --concept-panel:#164b91;
    --concept-raised:#205daa;
    --concept-inset:#3572bd;
    --concept-line:#5e8dcb;
}
:root:is([data-theme=light],[data-theme=vivid]) .home-tool-plan .home-tool-preview {
    --concept-panel:#174c36;
    --concept-raised:#285e43;
    --concept-inset:#397451;
    --concept-line:#5c8e6e;
    --concept-secondary:#e0efdf;
}
:root:is([data-theme=light],[data-theme=vivid]) .home-tool-studio .home-tool-preview {
    --concept-panel:#6b3627;
    --concept-raised:#7c422d;
    --concept-inset:#a14f32;
    --concept-line:#c27b53;
    --concept-secondary:#f8e4d2;
}
:root:is([data-theme=light],[data-theme=vivid]) .home-week-preview b.is-run {background:#447e50;color:#fff}
:root:is([data-theme=light],[data-theme=vivid]) .home-plan-bars>span {background:#b4d89a}
:root:is([data-theme=light],[data-theme=vivid]) .home-plan-bars>span.is-recovery {background:#6e9b77}
:root:is([data-theme=light],[data-theme=vivid]) .home-plan-bars>span.is-taper {background:#f0b283}
:root:is([data-theme=light],[data-theme=vivid]) .home-plan-key i {background:#b4d89a}
:root:is([data-theme=light],[data-theme=vivid]) .home-record-poster {background:#b8522e;border-color:#df9569;color:#fff}
:root:is([data-theme=light],[data-theme=vivid]) .home-tool-studio .home-record-poster strong {color:#fff}
:root:is([data-theme=light],[data-theme=vivid]) .home-race-card[data-sport=road] {
    --concept-panel:#164a7b;
    --concept-inset:#286194;
    --concept-line:#5385b0;
    --concept-secondary:#dceaff;
}
:root[data-theme=vivid] :is(.home-intro,.home-live-board,.home-gpx-feature,.home-staff),
:root[data-theme=vivid] .home-race-card {
    --concept-panel:#143a2f;
    --concept-raised:#204c3c;
    --concept-inset:#2d5c48;
    --concept-line:#416b57;
}
:root[data-theme=vivid] .home-winner {
    --concept-panel:#173c39;
    --concept-raised:#224e49;
    --concept-inset:#2f5d55;
    --concept-line:#456e64;
}
:root[data-theme=vivid] :is(.home-certificate-panel,.home-connect) {
    --concept-panel:#4d3224;
    --concept-raised:#63422e;
    --concept-inset:#78543b;
    --concept-line:#906a4b;
}
:root[data-theme=vivid] .promo-card {
    --concept-panel:#193550;
    --concept-raised:#23476b;
    --concept-inset:#325b7e;
    --concept-line:#4b7191;
}
:root[data-theme=vivid] .home-race-card[data-sport=road] {--concept-panel:#193550;--concept-inset:#2b5076;--concept-line:#4b7191}
:root[data-theme=vivid] .service-value {
    --concept-panel:#102449;
    --concept-line:#3e557b;
    --concept-secondary:#d2def2;
}

/* Preview only. The live homepage structure and dimensions stay unchanged. */
:root[data-theme=dark] {
    --concept-page:#fff;
    --concept-text:#112442;
    --concept-muted:#53647d;
    --concept-panel:#102449;
    --concept-raised:#19365d;
    --concept-inset:#213f68;
    --concept-on:#fff;
    --concept-secondary:#c6d4eb;
    --concept-line:#395477;
    --concept-accent:#ff917a;
    --concept-chart:#80a9ff;
    background:var(--concept-page);
    color:var(--concept-text);
}
:root[data-theme=dark] {
    --concept-page:#090a0c;
    --concept-text:#f6f7fa;
    --concept-muted:#b7bfcc;
    --concept-panel:#15181d;
    --concept-raised:#20252d;
    --concept-inset:#2a313d;
    --concept-on:#f8f9fc;
    --concept-secondary:#c0c8d5;
    --concept-line:#3c4553;
    --concept-accent:#ff967c;
    --concept-chart:#88aaff;
    --blue:#85a6ff;
    --ink:#f6f7fa;
    --muted:#b7bfcc;
    --line:#343b46;
    --surface:#20252d;
    color-scheme:dark;
}
:root[data-theme=dark] .home-content {--home-ink:var(--concept-text);--home-muted:var(--concept-muted)}
:root[data-theme=dark] .home-content .eyebrow {color:#d5432c}
:root[data-theme=dark] .home-content .eyebrow {color:var(--concept-accent)}
:root[data-theme=dark] :is(.home-intro,.home-live-board,.home-winner,.home-certificate-panel,.home-tool-card,.home-gpx-feature,.home-connect,.home-staff,.service-value,.promo-card) {
    background:var(--concept-panel);
    border-color:var(--concept-line);
    color:var(--concept-on);
}
:root[data-theme=dark] :is(.home-intro,.home-live-board,.home-winner,.home-certificate-panel,.home-tool-card,.home-gpx-feature,.home-connect,.home-staff,.service-value,.promo-card) :is(h2,h3,strong,.home-link,.home-more) {color:var(--concept-on)}
:root[data-theme=dark] :is(.home-intro,.home-live-board,.home-winner,.home-certificate-panel,.home-tool-card,.home-gpx-feature,.home-connect,.home-staff,.promo-card) :is(p,small,.home-preview-caption,.home-journey,.home-winner-label,.home-winner-course,.home-winner-stats span,.home-live-columns,.home-live-bottom,.home-position,.home-gpx-label,.home-gpx-features,.home-preview-metrics>span,.home-plan-key,.home-week-preview small,.home-live-athlete small,.home-live-pace small,.home-live-checkpoint,.home-live-passed>small,.home-live-elapsed>small,.home-staff-copy li>.number) {color:var(--concept-secondary)}
:root[data-theme=dark] :is(.home-intro,.home-live-board,.home-winner,.home-certificate-panel,.home-tool-card,.home-gpx-feature,.home-connect,.home-staff,.promo-card) .eyebrow {color:var(--concept-accent)}
:root[data-theme=dark] :is(.home-journey,.home-winner-stats,.home-live-row,.home-live-bottom,.home-plan-bars,.home-race-action) {border-color:var(--concept-line)}
:root[data-theme=dark] .home-intro::before {opacity:.12;mix-blend-mode:screen}
:root[data-theme=dark] .home-marketing {background:#245bff;color:#fff}
:root[data-theme=dark] .home-marketing .eyebrow,:root[data-theme=dark] .home-marketing p:not(.eyebrow) {color:#fff}
:root[data-theme=dark] .home-marketing-links .home-link:hover {color:#fff;text-decoration:underline}
:root[data-theme=dark] .home-live-board .home-live-board-heading {background:var(--concept-raised)}
:root[data-theme=dark] :is(.home-live-label,.home-demo-label) {background:var(--concept-inset);color:var(--concept-on);border-color:var(--concept-line)}
:root[data-theme=dark] .home-live-row:hover {background:var(--concept-raised)}
:root[data-theme=dark] .home-live-bottom {background:var(--concept-raised)}
:root[data-theme=dark] .home-live-row:nth-child(2) .home-position {color:var(--concept-accent)}
:root[data-theme=dark] .home-live-updated,:root[data-theme=dark] .home-live-updated strong {color:var(--concept-secondary)}
:root[data-theme=dark] .home-winner-medal {background:var(--concept-inset);color:var(--concept-on)}
:root[data-theme=dark] .home-chart {color:var(--concept-on)}
:root[data-theme=dark] .home-chart :is(.section-title h3,.pace-chart-legend,.chart-label,.muted) {color:var(--concept-secondary)}
:root[data-theme=dark] .home-chart svg text,:root[data-theme=dark] .home-chart svg text.rank-axis {fill:var(--concept-secondary)}
:root[data-theme=dark] .home-chart-grid {stroke:var(--concept-line)}
:root[data-theme=dark] .home-chart-line {stroke:var(--concept-chart)}
:root[data-theme=dark] .home-chart-dot {stroke:var(--concept-panel)}
:root[data-theme=dark] .home-certificate-preview {background:var(--concept-raised);color:var(--concept-on);border-color:var(--concept-line);outline-color:var(--concept-line)}
:root[data-theme=dark] .home-certificate-rule {background:var(--concept-secondary)}
:root[data-theme=dark] .home-tool-card .home-tool-preview {background:var(--concept-raised)}
:root[data-theme=dark] .home-tool-card:hover {border-color:var(--concept-accent)}
:root[data-theme=dark] .home-pace-answer {background:var(--concept-panel);border-color:var(--concept-line)}
:root[data-theme=dark] .home-pace-answer>span {color:var(--concept-secondary)}
:root[data-theme=dark] .home-pace-answer>strong {color:var(--concept-on)}
:root[data-theme=dark] .home-week-preview b {background:var(--concept-panel);color:var(--concept-secondary)}
:root[data-theme=dark] .home-week-preview b.is-run {background:#3268eb;color:#fff}
:root[data-theme=dark] .home-plan-bars>span {background:#85a8ff}
:root[data-theme=dark] .home-plan-bars>span.is-recovery {background:#426493}
:root[data-theme=dark] .home-plan-bars>span.is-taper {background:#ff917a}
:root[data-theme=dark] .home-plan-key i {background:#85a8ff}
:root[data-theme=dark] .home-record-poster {background:#245bff;border-color:#82a3ff;color:#fff}
:root[data-theme=dark] .home-gpx-copy>p,:root[data-theme=dark] .home-gpx-features,:root[data-theme=dark] .home-gpx-label {color:var(--concept-secondary)}
:root[data-theme=dark] .home-gpx-copy>.eyebrow {color:var(--concept-accent)}
:root[data-theme=dark] .home-gpx-action {color:var(--concept-on);border-color:var(--concept-secondary)}
:root[data-theme=dark] .home-gpx-feature:hover {border-color:var(--concept-accent)}
:root[data-theme=dark] .home-race-card {background:var(--concept-panel)!important;border-color:var(--concept-line)!important;color:var(--concept-on)}
:root[data-theme=dark] .home-race-card[data-card-kv]::before {background-color:var(--concept-panel)!important;background-blend-mode:multiply!important;opacity:.35}
:root[data-theme=dark] .home-race-card :is(p,.home-race-meta,.home-race-date span) {color:var(--concept-secondary)}
:root[data-theme=dark] .home-course-tags span {background:var(--concept-inset);border-color:var(--concept-line);color:var(--concept-on)}
:root[data-theme=dark] .home-race-card:hover .home-race-action {color:var(--concept-accent)}
:root[data-theme=dark] .home-platform-preview {background:var(--concept-raised);border-color:var(--concept-line);color:var(--concept-on);box-shadow:12px 12px 0 var(--concept-inset)}
:root[data-theme=dark] .home-platform-brand {border-color:var(--concept-line);color:var(--concept-on)}
:root[data-theme=dark] .home-platform-brand>span:last-child,:root[data-theme=dark] .home-platform-heading>span {color:var(--concept-secondary)}
:root[data-theme=dark] .home-platform-grid>span {background:var(--concept-panel);border-color:var(--concept-line);color:var(--concept-on)}
:root[data-theme=dark] .home-platform-grid>span:nth-child(4) {background:#245bff;border-color:#648cff;color:#fff}
:root[data-theme=dark] .home-platform-data {background:var(--concept-panel)}
:root[data-theme=dark] .home-platform-live {color:var(--concept-secondary)}
:root[data-theme=dark] .home-platform-line {stroke:var(--concept-chart)}
:root[data-theme=dark] .home-platform-area {fill:var(--concept-chart);opacity:.12}
:root[data-theme=dark] .service-value {background:var(--concept-panel)}
:root[data-theme=dark] .service-value .eyebrow {color:#b7ccff}
:root[data-theme=dark] .service-value-copy>p:not(.eyebrow),:root[data-theme=dark] .service-value-price>span,:root[data-theme=dark] .service-value-price p {color:var(--concept-secondary)}
:root[data-theme=dark] .service-value .service-value-price strong {color:var(--concept-accent)}
:root[data-theme=dark] .service-value-price {border-color:var(--concept-line)}
:root[data-theme=dark] .service-value-link {color:var(--concept-on)}
:root[data-theme=dark] .promo-card-heading,:root[data-theme=dark] .promo-footer {background:var(--concept-raised);color:var(--concept-on);border-color:var(--concept-line)}
:root[data-theme=dark] .promo-live {color:var(--concept-accent)}
:root[data-theme=dark] .promo-legend {color:var(--concept-secondary)}
:root[data-theme=dark] .home-training-method {background:var(--concept-panel);color:var(--concept-secondary);border-color:var(--concept-line)}
:root[data-theme=dark] .home-training-method summary {color:var(--concept-on)}
:root[data-theme=dark] .home-training-body {background:var(--concept-raised);border-color:var(--concept-line)}
:root[data-theme=dark] :is(.header,.site-header,.footer) {background:var(--concept-page);color:var(--concept-text);border-color:var(--line)}
:root[data-theme=dark] .site-header::before,:root[data-theme=dark] .site-header.is-floating::before {background:var(--concept-page)!important}
:root[data-theme=dark].has-site-kv::before {background-image:linear-gradient(#090a0cdd,#090a0cfa),var(--site-kv-image);opacity:.55}
:root[data-theme=dark] .site-brand img,:root[data-theme=dark] .footer img {filter:brightness(0) invert(1)}
:root[data-theme=dark] .icon-link img {filter:brightness(0) invert(1)}
:root[data-theme=dark] .site-header :is(a,button) {color:var(--concept-text)}
:root[data-theme=dark] .account-icon img {filter:brightness(0) invert(1)}
:root[data-theme=dark] .home-training-method summary::after {filter:invert(1)}
:root[data-theme=dark] .footer :is(p,small,a) {color:var(--concept-secondary)}
:root[data-theme=dark] .promo-intro {color:var(--concept-muted)}
:root[data-theme=dark] .home-empty-copy {color:var(--concept-muted)}
:root[data-theme=dark] .home-section-heading>.home-link {color:var(--concept-text)}

/* A and B use the same blue elevation palette. */
:root[data-theme=light] .promo-card {
    --concept-panel:#193550;
    --concept-raised:#23476b;
    --concept-inset:#325b7e;
    --concept-line:#4b7191;
    --concept-secondary:#dceaff;
    --concept-on:#f8f9fc;
}
/* Margins and grid gaps must not expose a darker strip around either caption. */
:root[data-theme] .promo-card,
:root[data-theme] .promo-visuals,
:root[data-theme] .promo-figure,
:root[data-theme] .promo-figure figcaption {
    background:var(--concept-raised);
    color:var(--concept-on);
}
:root[data-theme] .promo-elevation .promo-image {background:var(--concept-raised)}
:root[data-theme] .promo-elevation .promo-image img {
    filter:invert(1) hue-rotate(180deg);
    /* Black pixels become the panel tone; labels and profile remain bright. */
    mix-blend-mode:screen;
}

}
