/* Adapted from ai-sdlc-labs at 29445427b11e862be71d0b49d1ac53aa1cdcaaf6,
 * Apache-2.0. Modified 2026-11-24: reduced neutral training shell, shared
 * picker/404 styling and system fonts. No Ontario branding or upstream
 * presentation assets. Modified 2026-11-25: namespaced bilingual landing
 * hero, source-to-recovery cards, team and paths. See LICENSE and NOTICE.md.
 */
:root {
  --md-text-font: "Segoe UI", system-ui, sans-serif;
  --md-code-font: "Cascadia Code", ui-monospace, monospace;
  --md-primary-fg-color: #182b44;
  --md-accent-fg-color: #365ab2;
}
[data-md-color-scheme="default"] { --md-typeset-a-color: #234997; }
[data-md-color-scheme="slate"] { --md-typeset-a-color: #aacaff; }
.md-typeset img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible { outline: 3px solid #ca7200; outline-offset: 4px; }
.language-shell {
  color-scheme: light dark;
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: var(--md-text-font);
  background: #182b44;
  color: #fff;
}
.language-shell main { max-width: 36rem; padding: 1.5rem; }
.language-shell h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); overflow-wrap: anywhere; }
.language-shell p { line-height: 1.6; }
.choices { display: flex; flex-wrap: wrap; gap: 1rem; }
.choices a {
  padding: .8rem 1.2rem;
  border: 2px solid #aacaff;
  border-radius: .3rem;
  color: #fff;
  text-underline-offset: .2em;
}
.choices a:hover { background: #2c4361; }

/* Landing components stay inside Material's existing content/navigation shell. */
.md-typeset .lab-hero {
  padding: clamp(1.1rem, 4vw, 2.4rem);
  margin: 0 0 1.8rem;
  border-radius: .4rem;
  background: #182b44;
  color: #fff;
  overflow-wrap: anywhere;
}
.md-typeset .lab-eyebrow {
  margin: 0 0 1rem;
  color: #aacaff;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.md-typeset .lab-hero h2 {
  max-width: 24ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.md-typeset .lab-lead { max-width: 60ch; margin: 1rem 0 1.3rem; }
.md-typeset .lab-hero .headerlink { color: #aacaff; }
.md-typeset .lab-hero .md-button {
  max-width: 100%;
  margin: .25rem .4rem .25rem 0;
  padding: .65rem 1rem;
  border-color: #aacaff;
  color: #fff;
  text-align: center;
  white-space: normal;
}
.md-typeset .lab-hero .md-button--primary {
  background: #fff;
  border-color: #fff;
  color: #182b44;
}
.md-typeset .lab-hero .md-button:hover {
  background: #aacaff;
  border-color: #aacaff;
  color: #182b44;
}
.md-typeset .lab-lifecycle,
.md-typeset .lab-team,
.md-typeset .lab-paths {
  display: grid;
  gap: .65rem;
  padding: 0;
  margin: 1rem 0;
  list-style: none;
}
.md-typeset .lab-lifecycle {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.25rem), 1fr));
}
.md-typeset .lab-team,
.md-typeset .lab-paths {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.md-typeset .lab-lifecycle > li,
.md-typeset .lab-team > li,
.md-typeset .lab-path {
  min-width: 0;
  margin: 0;
  padding: .9rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: .3rem;
  overflow-wrap: anywhere;
}
.md-typeset .lab-lifecycle > li {
  border-top: .25rem solid var(--lab-phase-color, #365ab2);
}
.lab-phase-source, .lab-phase-sign { --lab-phase-color: #365ab2; }
.lab-phase-plan, .lab-phase-publish { --lab-phase-color: #aacaff; }
.lab-phase-build, .lab-phase-recover { --lab-phase-color: #6886b1; }
.lab-phase-test { --lab-phase-color: #8794a5; }
.md-typeset .lab-lifecycle strong,
.md-typeset .lab-team strong { display: block; margin: .35rem 0; }
.md-typeset .lab-lifecycle span,
.md-typeset .lab-team span { display: block; font-size: .7rem; line-height: 1.5; }
.md-typeset .lab-lifecycle .lab-step {
  color: var(--md-typeset-a-color);
  font-family: var(--md-code-font);
  font-size: 1rem;
  font-weight: 700;
}
.md-typeset .lab-team code {
  display: block;
  margin: 0 0 .55rem;
  padding: 0;
  background: transparent;
  color: var(--md-typeset-a-color);
  font-size: .65rem;
  white-space: normal;
  overflow-wrap: anywhere;
}
.md-typeset .lab-path { border-left: .25rem solid #365ab2; }
.md-typeset .lab-path h3 { margin-top: 0; }
@media (min-width: 76.25em) {
  .md-typeset .lab-lifecycle { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .md-typeset .lab-lifecycle > li { padding: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
