/* Insight articles: light mode. Dark is the default and lives in article.css. Warm base #ebe8e2, like the services, industries and insights pages.
   The cover photo with its title, and the little phone mock-ups in diagrams, stay dark in both modes. */
html[data-theme="light"] .ax { --ax-text: #34343a; --ax-muted: #5a5a60; --ax-line: rgba(0, 0, 0, 0.16); --ax-card: rgba(0, 0, 0, 0.04); }
html[data-theme="light"] body:has(.ax) { background-color: #ebe8e2; }
html[data-theme="light"] .ax-layout { color: #34343a; }


/* reading column */
html[data-theme="light"] .ax-body { color: #34343a; }
html[data-theme="light"] .ax-body strong, html[data-theme="light"] .ax-sec > h2, html[data-theme="light"] .ax-sec h3 { color: #141414; }
html[data-theme="light"] .ax-body a { color: #141414; text-decoration-color: rgba(196, 90, 0, 0.7); }
html[data-theme="light"] .ax-body a:hover { color: #A64A00; }
html[data-theme="light"] .ax-short { background: rgba(196, 90, 0, 0.07); border-color: rgba(196, 90, 0, 0.4); }
html[data-theme="light"] .ax-short__t { color: #A64A00; }
html[data-theme="light"] .ax-short li { color: #26262b; }
html[data-theme="light"] .ax-short li::before { background: #C45A00; }
html[data-theme="light"] .ax-list li::before { border-color: #C45A00; }
html[data-theme="light"] .ax-list--no li::before { border-bottom-color: #a02f25; border-left-color: transparent; }
html[data-theme="light"] .ax-steps > li::before { background: #ebe8e2; border-color: #C45A00; color: #A64A00; }
html[data-theme="light"] .ax-note { background: rgba(0, 0, 0, 0.04); }
html[data-theme="light"] .ax-photo img { background: #d8d5cf; }

/* contents list and right-hand panel */
html[data-theme="light"] .ax-toc li a { color: #5a5a60; }
html[data-theme="light"] .ax-toc li a:hover, html[data-theme="light"] .ax-toc li a.is-on { color: #141414; }
html[data-theme="light"] .ax-toc li a.is-on { border-left-color: #C45A00; }
html[data-theme="light"] .ax-rail__cta { background: #C45A00; color: #fff; }
html[data-theme="light"] .ax-rail__cta b { color: #fff; }
html[data-theme="light"] .ax-rail__cta a { background: #141414; color: #fff; }

/* diagrams */
html[data-theme="light"] .ax-fig { background: rgba(255, 255, 255, 0.5); }
html[data-theme="light"] .ax-fig figcaption::before { color: #141414; }
html[data-theme="light"] .dg-title, html[data-theme="light"] .dg-card em, html[data-theme="light"] .dg-flow em, html[data-theme="light"] .dg-anatomy b, html[data-theme="light"] .dg-rows .n { color: #A64A00; }
html[data-theme="light"] .dg-card, html[data-theme="light"] .dg-flow li, html[data-theme="light"] .dg-versus > div, html[data-theme="light"] .dg-rows li, html[data-theme="light"] .dg-anatomy > div { background: rgba(255, 255, 255, 0.7); border-color: rgba(0, 0, 0, 0.16); }
html[data-theme="light"] .dg-card b, html[data-theme="light"] .dg-flow b, html[data-theme="light"] .dg-rows q { color: #141414; }
html[data-theme="light"] .dg-card span, html[data-theme="light"] .dg-versus li, html[data-theme="light"] .dg-rows span, html[data-theme="light"] .dg-anatomy span { color: #34343a; }
html[data-theme="light"] .dg-flow span, html[data-theme="light"] .dg-rows small { color: #5a5a60; }
html[data-theme="light"] .dg-flow li.is-stop, html[data-theme="light"] .dg-anatomy .head { background: rgba(196, 90, 0, 0.1); border-color: rgba(196, 90, 0, 0.5); }
html[data-theme="light"] .dg-flow li:not(:last-child)::after { background: #ebe8e2; border-color: #C45A00; color: #A64A00; }
html[data-theme="light"] .dg-base { background: rgba(196, 90, 0, 0.12); border-color: rgba(196, 90, 0, 0.5); color: #141414; }
html[data-theme="light"] .dg-versus h4 { color: #256b39; }
html[data-theme="light"] .dg-versus > div + div h4 { color: #a02f25; }
html[data-theme="light"] .dg-chat .q { background: rgba(0, 0, 0, 0.1); color: #141414; }
html[data-theme="light"] .dg-chat .r { background: rgba(196, 90, 0, 0.1); border-color: rgba(196, 90, 0, 0.4); color: #26262b; }
html[data-theme="light"] .dg-chat .r small { color: #5a5a60; }
html[data-theme="light"] .dg-result { background: rgba(47, 125, 68, 0.1); border-color: rgba(47, 125, 68, 0.4); color: #1f5f33; }
html[data-theme="light"] .dg-phones .lab.bad { color: #a02f25; }
html[data-theme="light"] .dg-phones .lab.good { color: #256b39; }

/* author card and more articles */
html[data-theme="light"] .ax-author { background: rgba(255, 255, 255, 0.5); }
html[data-theme="light"] .ax-author h2, html[data-theme="light"] .ax-more h2, html[data-theme="light"] .ax-more strong { color: #141414; }
html[data-theme="light"] .ax-more a:hover strong { color: #A64A00; }
html[data-theme="light"] .ax-more small { color: #A64A00; }
html[data-theme="light"] .ax-more img { background: #d8d5cf; }

/* the FAQ and the "Where this applies" band follow the theme (theme.css handles the base colours); small orange links need the deeper orange */
html[data-theme="light"] body:has(.ax) :is(.faq-intro a, .faq-a a) { color: #A64A00; }
html[data-theme="light"] body:has(.ax) .pg-section--soft { background: #e3e0da; }

html[data-theme="light"] .dg-versus .dg-h { color: #256b39; }
html[data-theme="light"] .dg-versus > div + div .dg-h { color: #a02f25; }
