/* =========================================================
   AiLGa — instrument style layer for inner pages.
   Loads after styles.css + te.css and restyles the existing
   page components (cards, stats, buttons, forms) to match
   the dark spec-sheet home page.
   ========================================================= */

:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --surface: #141416;
  --surface-2: #1c1d20;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #efefef;
  --muted: #8b8d92;
  --dim: #55575c;
  --accent: #ff5b1f;
  --accent-soft: rgba(255, 91, 31, 0.1);
  --radius: 3px;
  --radius-sm: 3px;
  --display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --led: "Share Tech Mono", Menlo, monospace;
}

body { background: var(--bg); color: var(--text); font-weight: 300; font-size: 16px; }
body::before { display: none; }              /* drop the old grid backdrop */
p { color: var(--muted); }
strong, b { font-weight: 500; }

/* headings: light, tight, lowercase */
h1, h2, h3, h4 { font-family: var(--body); font-weight: 300; letter-spacing: -0.035em; text-transform: lowercase; }
h1 { font-size: clamp(42px, 6.6vw, 100px); letter-spacing: -0.045em; line-height: 0.96; }
.page-hero h1 { font-size: clamp(42px, 6.6vw, 100px); max-width: 15ch; }
h2 { font-size: clamp(32px, 4.6vw, 64px); }
h3 { font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.015em; }
h4 { font-weight: 400; }
.accent { color: var(--accent); }
.outline-text { -webkit-text-stroke: 1px var(--text); }

/* captions */
.eyebrow {
  font-size: 10px; font-weight: 400; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 18px;
}
.eyebrow::before { width: 6px; height: 6px; border-radius: 0; box-shadow: none; background: var(--accent); }
.lede { font-weight: 300; color: var(--muted); }
.source-note { font-size: 11px; }

/* sections & rules */
section { padding: clamp(56px, 8vw, 110px) 0; }
.border-top { border-top-color: var(--line); }
.section-head { margin-bottom: 40px; }

/* buttons become hardware keys */
.btn {
  border-radius: 3px; border: 0; padding: 13px 18px; font-weight: 400; font-size: 14px;
  text-transform: lowercase; letter-spacing: 0;
  background: var(--text); color: #111 !important;
  box-shadow: 0 3px 0 #9a9a9a, 0 6px 14px rgba(0, 0, 0, 0.5);
}
.btn::before { display: none; }
.btn:hover { transform: none; background: #fff; box-shadow: 0 3px 0 #9a9a9a, 0 6px 14px rgba(0, 0, 0, 0.5); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 #9a9a9a, 0 2px 6px rgba(0, 0, 0, 0.5); }
.btn-ghost {
  background: #1c1d20; color: var(--text) !important; outline: 1px solid var(--line-strong);
  box-shadow: 0 3px 0 #000, 0 6px 14px rgba(0, 0, 0, 0.5);
}
.btn-ghost:hover { background: #26272b; box-shadow: 0 3px 0 #000, 0 6px 14px rgba(0, 0, 0, 0.5); }
.btn-ghost:active { box-shadow: 0 0 0 #000; }

/* tags: tiny caps, square */
.tag { border-radius: 2px; font-size: 10px; font-weight: 400; letter-spacing: 0.08em; padding: 4px 8px; border-color: var(--line-strong); }
.tag-accent { border-color: rgba(255, 91, 31, 0.5); background: transparent; color: var(--accent); }

/* cards: flat, ruled, no rounding */
.card {
  background: transparent; border: 1px solid var(--line-strong); border-radius: 0;
  padding: 26px; transition: background 0.25s;
}
.card::before { display: none; }
.card:hover { transform: none; background: var(--bg-2); border-color: var(--line-strong); }
.grid-2, .grid-3, .grid-4, .pathway { gap: 0; }
.grid-2 > .card, .grid-3 > .card, .grid-4 > .card, .pathway > .card { margin: 0 -1px -1px 0; }
.card .icon { background: none; border: 0; width: auto; height: auto; margin-bottom: 18px; justify-content: start; }
.card .icon svg { width: 34px; height: 34px; stroke-width: 1.1; }
.card:hover .icon { transform: none; background: none; }
.card:hover .icon svg { stroke: var(--accent); }

/* every number becomes an LED readout */
.stat-num, .tier .hours, .card-num, .course-code, .tier-step-num, .credential .k,
.t-item .when, .contact-item h4, .partner-card .role {
  font-family: var(--led); font-weight: 400; color: var(--accent);
  text-shadow: 0 0 8px rgba(255, 91, 31, 0.5); letter-spacing: 0.04em;
}
.stat-num { font-size: clamp(48px, 6vw, 84px); line-height: 0.9; }
.stat-num sup { color: var(--accent); font-size: 0.35em; }
.stats { border-top-color: var(--line-strong); }
.stat { border-color: var(--line-strong) !important; }
.card-num { font-size: 15px; margin-bottom: 28px; }
.course-code { font-size: 14px; }
.tier .hours { font-size: 72px; }
.tier .hours small { font-family: var(--body); color: var(--accent); }
.tier .bar { border-radius: 0; height: 8px; background: #26272a; }
.tier .bar i { background: var(--accent); box-shadow: 0 0 6px rgba(255, 91, 31, 0.5); }
.credential .k { font-size: 18px; }
.contact-item h4 { font-size: 13px; text-transform: lowercase; letter-spacing: 0.04em; }
.partner-card .role { font-size: 12px; text-transform: lowercase; letter-spacing: 0.04em; }

/* lists */
.check-list li::before {
  width: 8px; height: 8px; margin-top: 9px; border-radius: 0; background: var(--accent);
  box-shadow: 0 0 6px rgba(255, 91, 31, 0.5);
}
.course-points li::before { height: 1px; width: 10px; }
.panel { background: transparent; border-radius: 0; border-color: var(--line-strong); padding: 0 24px; }
.panel-row { border-color: var(--line-strong); }
.panel-row span:first-child { font-weight: 400; }
.risk-row { border-color: var(--line-strong); }
.risk-row b { font-weight: 400; }
.risk-meter i { border-radius: 0; }
.risk-meter i.hot { box-shadow: 0 0 6px rgba(255, 91, 31, 0.5); }
.credential-list, .credential { border-color: var(--line-strong); }
.credential h3 { font-size: 22px; }

/* timeline */
.timeline::before { background: var(--line-strong); }
.t-item::before { border-radius: 0; width: 11px; height: 11px; left: 2px; border-width: 1px; }
.t-item:hover::before { background: var(--accent); border-color: var(--accent); transform: none; }
.t-item .when { font-size: 13px; text-transform: none; }

/* quotes */
.quote { font-family: var(--body); font-weight: 300; letter-spacing: -0.02em; }

/* portraits & photos */
.portrait { border-radius: 0; background: var(--bg-2); border-color: var(--line-strong); }
.portrait .scan { display: none; }
.portrait .initials { font-family: var(--body); font-weight: 800; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.45); }
.partner-card .portrait { box-shadow: none; outline: 1px solid var(--line-strong); outline-offset: 8px; border: 0; }
.portrait-photo img, .headshot-circle img { filter: grayscale(1) contrast(1.05); }
.headshot-circle { box-shadow: none; outline: 1px solid var(--line-strong); outline-offset: 12px; border: 0; background: var(--bg-2); }
.headshot-ring { border-color: var(--line-strong); }
.headshot-dot { border-radius: 0; width: 8px; height: 8px; box-shadow: 0 0 8px rgba(255, 91, 31, 0.6); }
.headshot-caption strong { font-family: var(--body); font-weight: 400; text-transform: lowercase; letter-spacing: -0.01em; }
.headshot-caption > span { font-size: 10px; font-weight: 400; }

/* call-to-action band: dark panel with an outlined stamp */
.cta-band {
  background: var(--bg-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: 0;
}
.cta-band h2 { color: var(--text); }
.cta-band p { color: var(--muted); }
.cta-band::after {
  content: "AiLGa"; border: 0; width: auto; height: auto; animation: none; opacity: 0.9;
  right: -0.08em; top: auto; bottom: -0.18em; font-weight: 800; letter-spacing: -0.06em;
  font-size: clamp(90px, 15vw, 220px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.cta-band .btn { background: var(--text); color: #111 !important; }
.cta-band .btn-ghost { background: #1c1d20; color: var(--text) !important; }

/* courses page */
.tier-track { border-radius: 0; border-color: var(--line-strong); }
.tier-track .tier-step-name { font-family: var(--body); font-weight: 300; text-transform: lowercase; letter-spacing: -0.03em; }
.tier-track .tier-step-exec { background: #17110e; }
.tier-step::after { background: var(--accent); height: 2px; }
.filter { border-radius: 2px; font-weight: 400; text-transform: lowercase; font-size: 13px; }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: #111; }
.course-tier-head { border-color: var(--line-strong); }
.course-tier-head h3 { font-size: clamp(28px, 3vw, 40px); }
.course-foot { border-color: var(--line-strong); font-size: 10px; font-weight: 400; }
.industry-cols h4 { font-size: 10px; }
.industry-cta { background: var(--bg-2); }
.industry-cta .btn { flex: none; }

/* forms */
.field label { font-weight: 400; font-size: 13px; text-transform: lowercase; }
.field input, .field select, .field textarea {
  border-radius: 2px; background: var(--bg-2); border-color: var(--line-strong); font-weight: 300;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 91, 31, 0.15); }
.chip-group label { border-radius: 2px; font-weight: 400; font-size: 13px; text-transform: lowercase; }
.chip-group input:checked + label { background: var(--accent); border-color: var(--accent); color: #111; }
.form-success { border-radius: 2px; border-color: rgba(255, 91, 31, 0.5); }
.form-error { border-radius: 2px; }
.contact-item, .contact-item:first-child { border-color: var(--line-strong); }
.contact-item a, .contact-item div { font-family: var(--body); font-weight: 300; letter-spacing: -0.015em; }

/* page hero spacing under the taller pictogram header */
.page-hero { padding-top: clamp(48px, 7vw, 96px); }

/* hide leftovers from the old header if any remain */
.nav-toggle { display: none !important; }

/* restore heading spacing (te.css zeroes heading margins) */
h1 { margin: 0 0 0.35em; }
h2 { margin: 0 0 0.45em; }
h3 { margin: 0 0 0.5em; }
.section-head h2, .course-tier-head h3 { margin: 0; }
/* keep form option labels in their written case (e.g. "Governance & Policy") */
.chip-group label { text-transform: none; }
