/*
 * Holding pages for lighting-expert.net and lighting-tools.net. Brand tokens
 * are Lighting Expert's own (training/lighting-expert/brand/tokens.css,
 * copied into dist/brand/ by build.py): deep indigo, Montserrat display,
 * and the two-line signature once per page.
 */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--rl-font-body);
  color: var(--rl-color-fg);
  background: var(--rl-color-bg);
  font-size: 16px;
  line-height: 1.5;
}

.le-header {
  background: var(--rl-color-primary);
  color: var(--rl-color-primary-contrast);
  padding: 2rem 0 0;
}

.le-header > * {
  max-width: var(--rl-page);
  margin-inline: auto;
  padding-inline: 2rem;
}

.le-brand {
  margin: 0 auto 1.5rem;
  font-family: var(--rl-font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.le-header h1 {
  margin: 0 auto;
  font-family: var(--rl-font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 2rem;
  text-wrap: balance;
}

.le-status {
  margin: 0.5rem auto 2rem;
  opacity: 0.85;
}

/* The signature: the white fade over the RGB fade, two thin lines, once
   per page, on the indigo where it reads. Full width of the band. */
.le-signature {
  max-width: none;
  padding: 0;
  display: grid;
  gap: var(--rl-signature-gap);
}

.le-signature span {
  display: block;
  height: var(--rl-signature-line);
}

.le-signature__white { background: var(--rl-signature-white); }
.le-signature__rgb { background: var(--rl-signature-rgb); }

.le-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem;
  max-width: var(--rl-page);
  margin: 0 auto;
}

.le-section h2 {
  margin: 0 0 1rem;
  font-family: var(--rl-font-display);
  font-size: 1.375rem;
  font-weight: 600;
}

.le-section p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
}

.le-section p:last-child {
  margin-bottom: 0;
}

.le-section a {
  color: var(--rl-color-accent);
}

.le-stages {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  display: grid;
  gap: 0.5rem;
  font-size: 1.0625rem;
}

.le-stages strong {
  font-family: var(--rl-font-display);
  font-weight: 600;
}

.le-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 1.0625rem;
}

.le-links a {
  color: var(--rl-color-accent);
  font-family: var(--rl-font-display);
  font-weight: 600;
  text-decoration: none;
}

.le-links a:hover,
.le-links a:focus-visible {
  text-decoration: underline;
}

.le-links span {
  color: var(--rl-color-muted);
  margin-left: 0.5rem;
}

.le-footer {
  max-width: var(--rl-page);
  margin: 0 auto;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--rl-color-border);
  color: var(--rl-color-muted);
  font-size: 0.9375rem;
}

.le-footer p {
  margin: 0 0 0.5rem;
}

.le-footer a {
  color: var(--rl-color-accent);
  text-decoration: none;
}

.le-footer a:hover,
.le-footer a:focus-visible {
  text-decoration: underline;
}

.le-foot__links a + a::before {
  content: '·';
  margin: 0 0.5rem;
  color: var(--rl-color-muted);
}

.le-foot__legal {
  font-size: 0.875rem;
}
