/* VENDORED from LearningLeagues-Lib @ 46272792c05818b91111218e946e8f6d2acef0e4 (dist/ll-lib.css).
 * GENERATED twice over: by `pnpm dist:build`, then pinned here by
 * `node scripts/vendor-dist.ts --write`. Never edit in this repository:
 * bump the pin by re-running the vendoring at a new lib commit. */

/* GENERATED by `pnpm dist:build` (scripts/generate-dist.ts): tokens.css +
 * every component stylesheet, concatenated for a consuming host. Do not edit;
 * the sources are the library stylesheets. No global reset ships here
 * (distribution contract): the host owns its reset. */

/* GENERATED by `pnpm tokens:build` from packages/ui/src/tokens/tokens.json.
 * Do not edit token declarations by hand. The ONLY agent-extensible zone is
 * the utilities block at the end of this file.
 * Source of truth: Figma file `Lib` (see tokens/PROVENANCE.md). */

:root {
  --ll-neutral-bg: #070a14;
  --ll-neutral-bg-soft: #0c1222;
  --ll-neutral-surface: #111a2e;
  --ll-neutral-surface-2: #162238;
  --ll-neutral-border: #223152;
  --ll-neutral-border-soft: #1a2540;
  --ll-neutral-fg: #e7ecf5;
  --ll-neutral-fg-dim: #a8b3c7;
  --ll-neutral-fg-mute: #7d89a3;
  --ll-accent-ambre: #e39a3c;
  --ll-accent-bleu: #6fa8dc;
  --ll-accent-rouge: #d28585;
  --ll-accent-violet: #a884d0;
  --ll-accent-jade: #5fb38f;
  --ll-status-success: #9bb777;
  --ll-status-danger: #c97a6e;
  --ll-alpha-rule: rgba(255, 255, 255, 0.09);
  --ll-alpha-grid-line: rgba(127, 168, 220, 0.22);
  --ll-alpha-gold-soft: rgba(212, 180, 104, 0.12);
  --ll-alpha-success-soft: rgba(155, 183, 119, 0.14);
  --ll-alpha-danger-soft: rgba(201, 122, 110, 0.12);
  --ll-tier-iron: #5b5959;
  --ll-tier-bronze: #a26939;
  --ll-tier-silver: #9ba6b3;
  --ll-tier-gold: #e39a3c;
  --ll-tier-platinum: #4ea3a3;
  --ll-tier-emerald: #3f9670;
  --ll-tier-diamond: #6fa8dc;
  --ll-tier-master: #a868d4;
  --ll-tier-grandmaster: #c9484a;
  --ll-tier-challenger: #d4b468;
  --ll-opacity-ornament: 0.25;
  --ll-bg: var(--ll-neutral-bg);
  --ll-bg-soft: var(--ll-neutral-bg-soft);
  --ll-surface: var(--ll-neutral-surface);
  --ll-surface-2: var(--ll-neutral-surface-2);
  --ll-border: var(--ll-neutral-border);
  --ll-border-soft: var(--ll-neutral-border-soft);
  --ll-fg: var(--ll-neutral-fg);
  --ll-fg-dim: var(--ll-neutral-fg-dim);
  --ll-fg-mute: var(--ll-neutral-fg-mute);
  --ll-rule: var(--ll-alpha-rule);
  --ll-grid-line: var(--ll-alpha-grid-line);
  --ll-accent: var(--ll-accent-ambre);
  --ll-accent-soft: var(--ll-alpha-gold-soft);
  --ll-success: var(--ll-status-success);
  --ll-danger: var(--ll-status-danger);
  --ll-warn: var(--ll-accent-ambre);
  --ll-success-soft: var(--ll-alpha-success-soft);
  --ll-danger-soft: var(--ll-alpha-danger-soft);
  --ll-s-05: 4px;
  --ll-s-1: 8px;
  --ll-s-15: 12px;
  --ll-s-2: 16px;
  --ll-s-3: 24px;
  --ll-s-4: 32px;
  --ll-s-5: 40px;
  --ll-s-6: 48px;
  --ll-s-7: 56px;
  --ll-s-8: 64px;
  --ll-s: 8px;
  --ll-s-275: 22px;
  --ll-s-125: 10px;
  --ll-nav-h: 64px;
  --ll-z-base: 1;
  --ll-z-toc: 30;
  --ll-z-sticky: 35;
  --ll-z-nav: 40;
  --ll-z-menu: 50;
  --ll-z-overlay: 100;
  --ll-breakpoint-md: 768px;
  --ll-font-display: 'EB Garamond', 'Iowan Old Style', Georgia, serif;
  --ll-font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --ll-font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ll-type-display-family: var(--ll-font-display);
  --ll-type-display-size: 64px;
  --ll-type-display-weight: 500;
  --ll-type-display-style: normal;
  --ll-type-display-line-height: 1;
  --ll-type-display-tracking: -0.025em;
  --ll-type-display-case: none;
  --ll-type-h1-italic-family: var(--ll-font-display);
  --ll-type-h1-italic-size: 44px;
  --ll-type-h1-italic-weight: 500;
  --ll-type-h1-italic-style: italic;
  --ll-type-h1-italic-line-height: 1.1;
  --ll-type-h1-italic-tracking: -0.01em;
  --ll-type-h1-italic-case: none;
  --ll-type-h2-family: var(--ll-font-display);
  --ll-type-h2-size: 32px;
  --ll-type-h2-weight: 500;
  --ll-type-h2-style: normal;
  --ll-type-h2-line-height: 1.1;
  --ll-type-h2-tracking: -0.01em;
  --ll-type-h2-case: none;
  --ll-type-h3-family: var(--ll-font-display);
  --ll-type-h3-size: 22px;
  --ll-type-h3-weight: 500;
  --ll-type-h3-style: normal;
  --ll-type-h3-line-height: 1.2;
  --ll-type-h3-tracking: -0.01em;
  --ll-type-h3-case: none;
  --ll-type-body-family: var(--ll-font-body);
  --ll-type-body-size: 15px;
  --ll-type-body-weight: 400;
  --ll-type-body-style: normal;
  --ll-type-body-line-height: 1.55;
  --ll-type-body-tracking: 0em;
  --ll-type-body-case: none;
  --ll-type-body-sm-family: var(--ll-font-body);
  --ll-type-body-sm-size: 14px;
  --ll-type-body-sm-weight: 400;
  --ll-type-body-sm-style: normal;
  --ll-type-body-sm-line-height: 1.55;
  --ll-type-body-sm-tracking: 0em;
  --ll-type-body-sm-case: none;
  --ll-type-button-family: var(--ll-font-mono);
  --ll-type-button-size: 12px;
  --ll-type-button-weight: 600;
  --ll-type-button-style: normal;
  --ll-type-button-line-height: normal;
  --ll-type-button-tracking: 0.14em;
  --ll-type-button-case: uppercase;
  --ll-type-meta-family: var(--ll-font-mono);
  --ll-type-meta-size: 11px;
  --ll-type-meta-weight: 400;
  --ll-type-meta-style: normal;
  --ll-type-meta-line-height: 1.4;
  --ll-type-meta-tracking: 0.06em;
  --ll-type-meta-case: none;
}

/* Accent axis: the host sets [data-accent] on the root element or any subtree. */
[data-accent="ambre"] {
  --ll-accent: var(--ll-accent-ambre);
}
[data-accent="bleu"] {
  --ll-accent: var(--ll-accent-bleu);
}
[data-accent="rouge"] {
  --ll-accent: var(--ll-accent-rouge);
}
[data-accent="violet"] {
  --ll-accent: var(--ll-accent-violet);
}
[data-accent="jade"] {
  --ll-accent: var(--ll-accent-jade);
}

/* Role axis: placed AFTER [data-accent] so a role accent wins the cascade. */
[data-role="support"] {
  --ll-accent: var(--ll-accent-ambre);
}
[data-role="adc"] {
  --ll-accent: var(--ll-accent-bleu);
}
[data-role="top"] {
  --ll-accent: var(--ll-accent-rouge);
}
[data-role="mid"] {
  --ll-accent: var(--ll-accent-violet);
}
[data-role="jungle"] {
  --ll-accent: var(--ll-accent-jade);
}

/* utilities (agent-extensible zone): none yet */

/* Button chrome: Button.rfc.md §3-§4, design node 16:18.
   Every colour, spacing and type value is a token, or derived live from one
   (the hover color-mix and glow follow --ll-accent across the accent axis;
   the label typography is the extracted type/button text style). Bracket and
   ring geometry (8px, 3px, 1px, 2px) is fixed ornament geometry, not
   themable design values. */

.ll-button {
  display: inline-flex;
  align-items: center;
  gap: var(--ll-s-125);
  padding: var(--ll-s-15) var(--ll-s-275);
  font-family: var(--ll-type-button-family);
  font-size: var(--ll-type-button-size);
  font-weight: var(--ll-type-button-weight);
  font-style: var(--ll-type-button-style);
  letter-spacing: var(--ll-type-button-tracking);
  /* type/button line-height is `normal`, which is also the self-defensive
     browser default the <a> rendering needs for button/link format parity
     (distribution contract §3.7; RFC §7, 2026-08-29). */
  line-height: var(--ll-type-button-line-height);
  text-transform: var(--ll-type-button-case);
  border-radius: 0;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}

.ll-button--primary {
  background: var(--ll-accent);
  color: var(--ll-bg);
  border: 1px solid var(--ll-accent);
}

/* Corner brackets: primary's decorative signature (invisible to AT). */
.ll-button--primary::before,
.ll-button--primary::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--ll-bg);
  pointer-events: none;
}
.ll-button--primary::before {
  top: 3px;
  left: 3px;
  border-top: 1px solid;
  border-left: 1px solid;
}
.ll-button--primary::after {
  bottom: 3px;
  right: 3px;
  border-bottom: 1px solid;
  border-right: 1px solid;
}

.ll-button--primary:hover {
  background: color-mix(in oklab, var(--ll-accent) 88%, white);
  box-shadow:
    0 0 0 1px var(--ll-accent),
    0 0 24px -4px var(--ll-accent);
}

.ll-button--secondary {
  background: transparent;
  color: var(--ll-fg);
  border: 1px solid var(--ll-border);
}
.ll-button--secondary:hover {
  border-color: var(--ll-accent);
  color: var(--ll-accent);
}

/* Current: "you are here" (RFC §3.1 / §4.1, §7 2026-09-16): the site's
   measured filled state, keyed on the semantic attribute so the visual never
   exists without it. Hover is inert on a current secondary: the state is
   stable, not an invitation. Primary + current: attribute only (RFC §5). */
.ll-button--secondary[aria-current="page"],
.ll-button--secondary[aria-current="page"]:hover {
  background: var(--ll-accent);
  color: var(--ll-bg);
  border-color: var(--ll-accent);
}

/* Keyboard-only focus ring (§4.2): 2px accent, 3px offset, both variants. */
.ll-button:focus-visible {
  outline: 2px solid var(--ll-accent);
  outline-offset: 3px;
}

/* Callout chrome: Callout.rfc.md §3–§4, design node 61:26.
   Every colour, spacing and type value is a token (the tag follows
   --ll-accent across the accent axis; the label is the type/meta text
   style, the title type/h3, the body type/body: arbitrated 2026-09-11,
   RFC §7 Q1–Q2). Glyph geometry (10px box, 7px diamond, 1px ring, 5/9px
   triangle) is fixed ornament geometry, like the Button's brackets. */

.ll-callout {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--ll-s-2);
  padding: var(--ll-s-4);
  background: var(--ll-surface);
  border: 1px solid var(--ll-border);
}

/* Tag: the type's label, uppercase by CSS (AT reads the author's casing). */
.ll-callout-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--ll-s-125);
  padding: var(--ll-s-05) var(--ll-s-125);
  border: 1px solid var(--ll-accent);
  color: var(--ll-accent);
  font-family: var(--ll-type-meta-family);
  font-size: var(--ll-type-meta-size);
  font-weight: var(--ll-type-meta-weight);
  font-style: var(--ll-type-meta-style);
  letter-spacing: var(--ll-type-meta-tracking);
  line-height: var(--ll-type-meta-line-height);
  text-transform: uppercase;
}

/* Glyph: decorative (aria-hidden), one shape per type. */
.ll-callout-glyph {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
}
.ll-callout--key .ll-callout-glyph {
  width: 7px;
  height: 7px;
  margin: 1.5px;
  background: var(--ll-accent);
  transform: rotate(45deg);
}
.ll-callout--pro .ll-callout-glyph {
  border: 1px solid var(--ll-accent);
  border-radius: 50%;
}
.ll-callout--trap .ll-callout-glyph {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--ll-accent);
}

/* Title: a fixed <h3>; margin reset is the self-defensive browser default
   the distribution contract requires (no global reset ships). */
.ll-callout-title {
  margin: 0;
  color: var(--ll-fg);
  font-family: var(--ll-type-h3-family);
  font-size: var(--ll-type-h3-size);
  font-weight: var(--ll-type-h3-weight);
  font-style: var(--ll-type-h3-style);
  letter-spacing: var(--ll-type-h3-tracking);
  line-height: var(--ll-type-h3-line-height);
  text-transform: var(--ll-type-h3-case);
}

/* Body: rich inline content; emphasis lifts to the default foreground. */
.ll-callout-body {
  color: var(--ll-fg-dim);
  font-family: var(--ll-type-body-family);
  font-size: var(--ll-type-body-size);
  font-weight: var(--ll-type-body-weight);
  font-style: var(--ll-type-body-style);
  letter-spacing: var(--ll-type-body-tracking);
  line-height: var(--ll-type-body-line-height);
}
.ll-callout-body b,
.ll-callout-body strong {
  color: var(--ll-fg);
}

/* Eyebrow: Eyebrow.rfc.md §3–§4, design node 80:7 (component set `Eyebrow`,
   variants Tone=Dim 80:3 / Tone=Accent 80:5). One recipe: the type/meta
   text style (11px / 400 / 0.06em, RFC §7 Q2, 2026-09-16, and Q7,
   2026-09-17) plus text-transform: uppercase, the treatment the Callout's
   tag already uses. The uppercase is the literal keyword, not
   var(--ll-type-meta-case) (which is `none`): the capitals are the Q2
   arbitration, not the text style. The uppercase is CSS so assistive tech
   reads the author's casing (§4.1). No layout ships here: no margin,
   padding, border, background, position, alignment or display override
   (§3.4, §7 Q8): the component is inline text, and the parent stacks it
   above a title or puts it in a row. Every
   value is a token (axiom 1); the "no layout" rule has no detector: the
   reviewer reads this file. */

.ll-eyebrow {
  font-family: var(--ll-type-meta-family);
  font-size: var(--ll-type-meta-size);
  font-weight: var(--ll-type-meta-weight);
  font-style: var(--ll-type-meta-style);
  letter-spacing: var(--ll-type-meta-tracking);
  line-height: var(--ll-type-meta-line-height);
  text-transform: uppercase;
}

/* Tones: a colour and nothing else (§7 Q10); neither is a state (§3).
   Accent follows the accent axis ([data-accent] / [data-role]). */
.ll-eyebrow--dim {
  color: var(--ll-fg-dim);
}
.ll-eyebrow--accent {
  color: var(--ll-accent);
}

/* MetaStrip: MetaStrip.rfc.md §3–§4, design node 106:29 (component set
   `MetaStrip`, variants Tone=Dim 106:3 / Tone=Accent 106:16). A wrapping
   row of facts under a dashed top rule. Text in the type/meta text style
   (11px / 400 / 0.06em / 1.4, §7 Q2) in fg/mute, which the value
   inherits; the key is the Eyebrow and its rule lives in eyebrow.css: this
   file holds no rule for the key's typography or colour (§7 Q3, Q4). One
   gap, s-3, for both directions: between facts and between wrapped rows
   (§7 Q7 and the checkpoint row « MS ecart lignes: 24 px (meme gap) »);
   s-1 from key to value (§7 Q7); s-3 above the text (all five site
   recipes). The 1px rule is the design language's fixed line weight (the
   sigil.css / callout.css precedent) and `dashed` the browser's own dash
   pattern: Figma's [3, 3] is a stand-in for it (§3.4). The ul / li
   margin, padding and list-style zeroes are structural, not design values:
   the library ships no reset (distribution contract). No layout ships
   beyond the strip itself: no outer margin, width, alignment, height or
   overflow (§3.4): the parent places it. Every value is a token (axiom 1). */

.ll-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ll-s-3);
  margin: 0;
  padding: var(--ll-s-3) 0 0;
  list-style: none;
  border-top: 1px dashed var(--ll-rule);
  font-family: var(--ll-type-meta-family);
  font-size: var(--ll-type-meta-size);
  font-weight: var(--ll-type-meta-weight);
  font-style: var(--ll-type-meta-style);
  letter-spacing: var(--ll-type-meta-tracking);
  line-height: var(--ll-type-meta-line-height);
  color: var(--ll-fg-mute);
}

/* One fact: the key's Eyebrow, then the optional value, on one baseline. */
.ll-meta-strip-item {
  display: flex;
  align-items: baseline;
  column-gap: var(--ll-s-1);
  margin: 0;
  padding: 0;
}

/* ProgressBar: ProgressBar.rfc.md §3.4–§4, design node 106:31 (component
   `ProgressBar`, page `ProgressBar` 106:30: track 320 × 4 bound to s-05 and
   border/soft, fill rectangle 106:32 bound to accent/default, no radius).
   The track is the root: s-05 high (4px, §7 Q2), border/soft (kept at the
   checkpoint, with the text-counter guideline). The fill is an <svg> rect
   whose length is its width attribute (§3.4, §3.5 point 1), painted in the
   live accent: it follows data-accent / data-role on any ancestor. Square
   ends (no radius), no transition, no animation (§7 Q4). The bar fills the
   width it is given: width: 100% is its container's width, nothing more;
   no margin, no alignment: the parent places it (manifest, "Placement and
   sizing"). Every value is a token (axiom 1). display is set on both
   elements: the library ships no reset (distribution contract), and an
   <svg> left inline would sit on a text baseline and default to 300 × 150. */

.ll-progress-bar {
  display: block;
  width: 100%;
  height: var(--ll-s-05);
  overflow: hidden;
  background: var(--ll-border-soft);
}

.ll-progress-bar > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ll-progress-bar-fill {
  fill: var(--ll-accent);
}

/* SectionHead: SectionHead.rfc.md §3–§4, design node 109:9 (component set
   `SectionHead`: Viewport=Desktop 106:34, Viewport=Mobile 109:2). A two-
   column grid: the number column s-8 wide (§7 Q6), the columns s-4 apart
   (§7 checkpoint row, the site's 32px). The number is the type/h1-italic
   text style in the live accent (§7 Q5); its underline is a ::after in the
   number's flow, as the Figma number-col stacks number then underline s-15
   below: 1px (the design language's fixed line weight, as in the Callout
   and the Sigil), s-7 wide, accent at opacity/ornament (§7 Q3, validated
   at the checkpoint). The title is type/h2 in fg (§7 Q4) and wraps (§7 Q7:
   no white-space rule); its <em> is italic in the accent (§7 Q8). The lede
   is type/body in fg/dim, s-15 below the title (§7 Q12). Self-defensive:
   the library ships no reset, so the h2, p and em take their margins,
   weight and style from these rules, never from the host's. No layout
   ships beyond the grid itself: no margin, padding or width: the page
   places the head (§3.4). Every value is a token (axiom 1); the "no
   layout" rule has no detector: the reviewer reads this file. */

.ll-section-head {
  display: grid;
  grid-template-columns: var(--ll-s-8) minmax(0, 1fr);
  column-gap: var(--ll-s-4);
  align-items: start;
}

.ll-section-head-num {
  display: block;
  font-family: var(--ll-type-h1-italic-family);
  font-size: var(--ll-type-h1-italic-size);
  font-weight: var(--ll-type-h1-italic-weight);
  font-style: var(--ll-type-h1-italic-style);
  letter-spacing: var(--ll-type-h1-italic-tracking);
  line-height: var(--ll-type-h1-italic-line-height);
  color: var(--ll-accent);
}
.ll-section-head-num::after {
  content: "";
  display: block;
  width: var(--ll-s-7);
  height: 1px;
  margin-top: var(--ll-s-15);
  background: var(--ll-accent);
  opacity: var(--ll-opacity-ornament);
  pointer-events: none;
}

/* The body column: a long word breaks inside it instead of widening the
   grid (WCAG 1.4.10 reflow, RFC §4.3). */
.ll-section-head-body {
  overflow-wrap: break-word;
}

.ll-section-head-title {
  margin: 0;
  font-family: var(--ll-type-h2-family);
  font-size: var(--ll-type-h2-size);
  font-weight: var(--ll-type-h2-weight);
  font-style: var(--ll-type-h2-style);
  letter-spacing: var(--ll-type-h2-tracking);
  line-height: var(--ll-type-h2-line-height);
  color: var(--ll-fg);
}
.ll-section-head-title em {
  font-style: italic;
  color: var(--ll-accent);
}

.ll-section-head-lede {
  margin: var(--ll-s-15) 0 0;
  font-family: var(--ll-type-body-family);
  font-size: var(--ll-type-body-size);
  font-weight: var(--ll-type-body-weight);
  font-style: var(--ll-type-body-style);
  letter-spacing: var(--ll-type-body-tracking);
  line-height: var(--ll-type-body-line-height);
  color: var(--ll-fg-dim);
}

/* Stacked under the breakpoint (§3.4, §7 checkpoint row; Figma 109:2): one
   column, the number block above the body, s-2 apart (the site's 768
   rule). Inclusive, as the site's `max-width: 768px`. A custom property
   cannot be read in a media condition: the length restates
   --ll-breakpoint-md, named in the prelude (AGENTS.md, Token rules). */
@media (width <= 768px) /* --ll-breakpoint-md */ {
  .ll-section-head {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--ll-s-2);
  }
}

/* Sigil: Sigil.rfc.md §3–§4, design node 89:4 (component `Sigil`, page
   `Sigil` 89:3: rings 89:5 / 89:6, art slot 92:7 inside the accent ring).
   The framed decorative square: 1px border, surface fill, colour = the live
   accent so the art inherits it (currentColor). Two rings as
   pseudo-elements (§7 Q2): the soft ring at s-15, the accent ring at s-3 at
   opacity/ornament (§7 Q4, Q9: Figma stores 25 %, the transform emits 0.25).
   The art slot is the square inside the accent ring (§7 Q11): a child, so it
   paints above ::before and below ::after: the Figma layer order. No
   layout ships beyond width: 100% and aspect-ratio: 1. The parent grid
   sizes and places the square (§3.4). Every value is a token (axiom 1); the
   1px rules are the design language's fixed line weight, as in the Callout.
   box-sizing: border-box is structural, not a design value: the library
   ships no reset (distribution contract), and a 1px border on a width: 100%
   square must not overflow its column by 2px on a host without one. */

.ll-sigil {
  box-sizing: border-box;
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  border: 1px solid var(--ll-border);
  background: var(--ll-surface);
  color: var(--ll-accent);
}

.ll-sigil::before,
.ll-sigil::after {
  content: "";
  position: absolute;
  inset: var(--ll-s-15);
  border: 1px solid var(--ll-border-soft);
  pointer-events: none;
}
.ll-sigil::after {
  inset: var(--ll-s-3);
  border-color: var(--ll-accent);
  opacity: var(--ll-opacity-ornament);
}

/* The art slot: the square inside the accent ring (§3.2). */
.ll-sigil-art {
  position: absolute;
  inset: var(--ll-s-3);
}
.ll-sigil-art > svg {
  display: block;
  width: 100%;
  height: 100%;
}
