/* ==========================================================================
   MYTECHLEARN v3 — International Automotive Engineering Education Design System
   Unified palette: Carbon-Navy (#0B1524), Precision Cobalt (#1D4ED8),
   Signal Amber (#EA580C), Alabaster Surface (#F8FAFC)
   ========================================================================== */

:root {
  --navy: #0B1524;
  --navy-2: #132238;
  --navy-3: #1E3250;
  --cobalt: #1D4ED8;
  --cobalt-2: #1E40AF;
  --cobalt-soft: #EFF6FF;
  --amber: #EA580C;
  --amber-2: #C2410C;
  --amber-soft: rgba(234, 88, 12, 0.12);
  --teal: #0F766E;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --line-2: #CBD5E1;
  --line-dark: rgba(255, 255, 255, 0.14);

  /* Legacy CSS variable aliases so preserved inline styles / SVG diagrams resolve cleanly */
  --paper: var(--bg);
  --white: #FFFFFF;
  --text: var(--ink);
  --border: var(--line);
  --border-soft: var(--line);
  --accent: var(--amber);
  --accent-hover: var(--amber-2);
  --accent-soft: var(--amber-soft);
  --blue: var(--cobalt);
  --blue-2: #2563EB;
  --blue-d: var(--cobalt-2);
  --info: var(--cobalt);
  --success: var(--teal);
  --elevated: var(--surface);
  --muted-2: var(--muted);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --max: 1240px;
  --pad: clamp(16px, 3vw, 32px);
  --r: 6px;
  --r2: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 36, 0.05);
  --shadow: 0 4px 16px rgba(11, 21, 36, 0.06), 0 1px 3px rgba(11, 21, 36, 0.04);
  --shadow-lg: 0 16px 40px rgba(11, 21, 36, 0.10);
  --hh: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 16px/1.68 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--cobalt); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--cobalt-2); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.03em; line-height: 1.12; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 1.8vw, 1.375rem); }
h4 { font-size: 1.0625rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
li { margin: 0.3em 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--amber); color: #fff; padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; border-radius: var(--r); }

.mtl-wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
.wrap, .container { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }

/* Eyebrow & Badges */
.mtl-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--cobalt); background: var(--cobalt-soft);
  padding: 4px 10px; border-radius: 4px; margin-bottom: 14px;
}
.mtl-dark .mtl-eyebrow {
  color: #93C5FD; background: rgba(29, 78, 216, 0.24); border: 1px solid rgba(147, 197, 253, 0.25);
}

/* Buttons */
.mtl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 0.9375rem; font-weight: 600;
  padding: 12px 22px; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: all 0.16s ease;
  white-space: nowrap;
}
.mtl-btn-primary { background: var(--amber); color: #fff; border-color: var(--amber); }
.mtl-btn-primary:hover { background: var(--amber-2); border-color: var(--amber-2); color: #fff; transform: translateY(-1px); }
.mtl-btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.mtl-btn-secondary:hover { background: var(--surface-alt); color: var(--ink); border-color: var(--ink-2); }
.mtl-btn-outline-light { background: transparent; color: #F8FAFC; border-color: rgba(255,255,255,0.32); }
.mtl-btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.mtl-btn-sm { padding: 8px 14px; font-size: 0.875rem; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.mtl-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--hh);
}
.mtl-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 100%; width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto;
}
.mtl-brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mtl-brand img { height: 44px; width: auto; object-fit: contain; }

.mtl-nav { display: flex; align-items: center; gap: 4px; }
.mtl-nav-item { position: relative; }
.mtl-nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: transparent; border: 0; color: var(--ink-2);
  font-family: var(--font); font-size: 0.875rem; font-weight: 600;
  padding: 8px 11px; border-radius: var(--r); cursor: pointer;
  white-space: nowrap; transition: background 0.15s, color 0.15s;
}
.mtl-nav-trigger:hover, .mtl-nav-item.open > .mtl-nav-trigger {
  background: var(--surface-alt); color: var(--ink);
}
.mtl-nav-trigger svg { width: 14px; height: 14px; opacity: 0.65; transition: transform 0.15s; }
.mtl-nav-item.open > .mtl-nav-trigger svg { transform: rotate(180deg); }

.mtl-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 270px; max-width: 560px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r2); box-shadow: var(--shadow-lg);
  padding: 12px; display: none; z-index: 120;
}
.mtl-dropdown.wide { min-width: 500px; display: none; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.mtl-nav-item.open > .mtl-dropdown { display: block; }
.mtl-nav-item.open > .mtl-dropdown.wide { display: grid; }
.mtl-nav-item:last-of-type .mtl-dropdown,
.mtl-nav-item:nth-last-of-type(2) .mtl-dropdown { left: auto; right: 0; }

.mtl-dd-head {
  grid-column: 1 / -1;
  font-family: var(--mono); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  padding: 6px 10px 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.mtl-dd-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 10px; border-radius: var(--r);
  font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
}
.mtl-dd-link:hover { background: var(--cobalt-soft); color: var(--cobalt); }
.mtl-dd-code { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }

.mtl-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mtl-burger {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}

/* Mobile Drawer */
.mtl-mobile-nav {
  display: none; position: fixed; inset: var(--hh) 0 0 0; z-index: 99;
  background: var(--surface); border-top: 1px solid var(--line);
  overflow-y: auto; padding: 20px var(--pad) 40px;
}
.mtl-mobile-nav.open { display: block; }
.mtl-mob-group { border-bottom: 1px solid var(--line); padding: 10px 0; }
.mtl-mob-group summary {
  font-weight: 600; font-size: 1rem; color: var(--ink); cursor: pointer;
  padding: 8px 0; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.mtl-mob-links { display: grid; gap: 4px; padding: 6px 0 10px 12px; }
.mtl-mob-links a { padding: 6px 8px; font-size: 0.9375rem; color: var(--ink-2); border-radius: var(--r); }
.mtl-mob-links a:hover { background: var(--surface-alt); color: var(--cobalt); }

@media (max-width: 1120px) {
  .mtl-nav { display: none; }
  .mtl-burger { display: inline-flex; }
}
@media (max-width: 540px) {
  .mtl-header-actions .mtl-btn-primary { display: none; }
}

/* ==========================================================================
   SECTIONS, HEROES & GRIDS
   ========================================================================== */
.mtl-section { padding: clamp(44px, 6vw, 76px) 0; }
.mtl-section-alt { background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mtl-dark { background: var(--navy); color: #E2E8F0; }
.mtl-dark h1, .mtl-dark h2, .mtl-dark h3, .mtl-dark h4 { color: #FFFFFF; }
.mtl-dark p { color: #CBD5E1; }

.mtl-hero {
  background: radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.22), transparent 55%),
              linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #F8FAFC;
  padding: clamp(48px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--line-dark);
}
.mtl-hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 56px); align-items: center;
}
.mtl-hero-media {
  border-radius: var(--r2); overflow: hidden;
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-lg);
  background: var(--navy-3);
}
.mtl-hero-media img { width: 100%; height: auto; object-fit: cover; }
.mtl-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 28px; }
.mtl-hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  padding-top: 22px; border-top: 1px solid var(--line-dark);
}
.mtl-stat-val { font-size: 1.125rem; font-weight: 700; color: #FFFFFF; display: block; }
.mtl-stat-lbl { font-size: 0.78rem; color: #94A3B8; display: block; }

@media (max-width: 920px) {
  .mtl-hero-grid { grid-template-columns: 1fr; }
  .mtl-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Grids & Cards */
.mtl-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.mtl-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mtl-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .mtl-grid-3, .mtl-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mtl-grid-2, .mtl-grid-3, .mtl-grid-4 { grid-template-columns: 1fr; } }

.mtl-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2);
  padding: 22px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.mtl-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.mtl-card-media {
  margin: -22px -22px 8px -22px; border-radius: var(--r2) var(--r2) 0 0;
  overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}
.mtl-card-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   INTERNAL PAGE SHELL & PRESERVED CONTENT STYLING
   ========================================================================== */
.mtl-breadcrumb {
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 12px 0; font-size: 0.875rem; color: var(--muted);
}
.mtl-breadcrumb ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.mtl-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }

.mtl-main { padding: clamp(28px, 4vw, 52px) 0 clamp(48px, 6vw, 80px); }
.mtl-main-inner { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
.mtl-main-inner.has-toc {
  display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; align-items: start;
}
@media (max-width: 1020px) {
  .mtl-main-inner.has-toc { grid-template-columns: 1fr; }
  .mtl-toc { order: -1; position: static !important; }
}

.mtl-toc {
  position: sticky; top: 92px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2);
  padding: 18px; box-shadow: var(--shadow-sm);
}
.mtl-toc-title {
  font-family: var(--mono); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.mtl-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.mtl-toc a { font-size: 0.875rem; color: var(--ink-2); display: block; padding: 3px 6px; border-radius: 4px; }
.mtl-toc a:hover { background: var(--cobalt-soft); color: var(--cobalt); }

/* Clean styling for migrated concept content blocks inside <main> */
.mtl-article section, .mtl-article .section {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2);
  padding: clamp(20px, 3vw, 32px); margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.mtl-article .hero, .mtl-article .page-hero, .mtl-article .domain-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #F8FAFC; border: 1px solid var(--navy-3);
}
.mtl-article .hero h1, .mtl-article .hero h2, .mtl-article .hero p,
.mtl-article .page-hero h1, .mtl-article .page-hero p,
.mtl-article .domain-hero h1, .mtl-article .domain-hero p { color: #F8FAFC; }
.mtl-article .hero a:not(.btn):not(.mtl-btn),
.mtl-article .page-hero a:not(.btn):not(.mtl-btn) { color: #93C5FD; }

/* Buttons migrated from c1/c2/c3 */
.btn, .btn-primary, .cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r); font-weight: 600; font-size: 0.9375rem;
  background: var(--amber); color: #fff !important; border: 1px solid var(--amber);
  cursor: pointer; text-decoration: none;
}
.btn:hover, .btn-primary:hover, .cta-btn:hover { background: var(--amber-2); border-color: var(--amber-2); }
.btn-secondary, .btn-outline {
  background: var(--surface); color: var(--ink) !important; border: 1px solid var(--line-2);
}
.btn-secondary:hover, .btn-outline:hover { background: var(--surface-alt); }

/* Responsive Engineering Tables */
.mtl-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; background: var(--surface); }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #FFFFFF; font-weight: 600; font-size: 0.875rem; white-space: nowrap; }
tr:nth-child(even) td { background: #F8FAFC; }
tr:hover td { background: var(--cobalt-soft); }

/* Grids from c1/c2/c3 */
.grid, .cards, .card-grid, .domain-grid, .two-col, .three-col {
  display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card, .panel, .callout, .note-box {
  background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px;
}

/* FAQ Accordion */
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 18px; margin-bottom: 10px;
}
summary { font-weight: 600; color: var(--ink); cursor: pointer; }
details[open] summary { margin-bottom: 10px; color: var(--cobalt); }

/* Forms */
.mtl-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .mtl-form-grid { grid-template-columns: 1fr; } }
.mtl-field { display: flex; flex-direction: column; gap: 6px; }
.mtl-field.full { grid-column: 1 / -1; }
.mtl-field label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.mtl-dark .mtl-field label { color: #E2E8F0; }
.mtl-field input, .mtl-field select, .mtl-field textarea,
form input[type="text"], form input[type="email"], form input[type="tel"], form select, form textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font-family: var(--font); font-size: 0.9375rem;
}
.invalid { border-color: #DC2626 !important; box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.mtl-footer {
  background: var(--navy); color: #CBD5E1;
  border-top: 1px solid var(--line-dark);
  padding: 56px 0 28px;
}
.mtl-footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px;
  padding-bottom: 36px; border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 1020px) { .mtl-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mtl-footer-grid { grid-template-columns: 1fr; } }

.mtl-footer h3 {
  font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: #94A3B8; margin-bottom: 12px;
}
.mtl-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.mtl-footer a { color: #E2E8F0; font-size: 0.875rem; }
.mtl-footer a:hover { color: #F97316; }
.mtl-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 22px; font-size: 0.8125rem; color: #94A3B8;
}
.mtl-footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }


/* MYTECHLEARN international visual refinement — December 2026 */
:root{--navy:#10243A;--navy-2:#18334F;--navy-3:#244766;--cobalt:#1769AA;--cobalt-2:#12558D;--cobalt-soft:#EAF4FC;--amber:#F28C28;--amber-2:#D97716;--bg:#FFFFFF;--surface:#FFFFFF;--surface-alt:#F4F7FA;--ink:#243447;--ink-2:#334155;--muted:#64748B;--line:#E2E8F0;--line-2:#CBD5E1;--r:8px;--r2:16px;--shadow:0 8px 28px rgba(16,36,58,.07);--shadow-lg:0 18px 48px rgba(16,36,58,.13)}
body{line-height:1.72} .mtl-header{box-shadow:0 4px 18px rgba(16,36,58,.045)} .mtl-nav-trigger{font-size:14px}.mtl-btn{min-height:46px;border-radius:8px}.mtl-card{border-radius:14px}.mtl-section{padding:clamp(52px,6.5vw,88px) 0}.mtl-hero{background:radial-gradient(circle at 82% 16%,rgba(22,139,219,.30),transparent 38%),linear-gradient(120deg,#10243A 0%,#18334F 62%,#10243A 100%)}
.mtl-home-hero{padding:clamp(58px,7vw,100px) 0;overflow:hidden}.mtl-home-hero .mtl-hero-grid{grid-template-columns:1.05fr .95fr;gap:clamp(32px,5vw,72px)}.mtl-home-copy h1{font-size:clamp(2.45rem,4.8vw,4.15rem);max-width:760px;line-height:1.08;letter-spacing:-.045em;color:#fff}.mtl-home-copy h1 em{font-style:normal;color:#77C4F5}.mtl-hero-lead{font-size:clamp(1.05rem,1.4vw,1.22rem);line-height:1.7;color:#D8E5F0;max-width:64ch}.mtl-hero-domains{color:#C5D7E6;font-size:.94rem}.mtl-hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:28px 0 24px}.mtl-text-link-light{color:#D8E5F0;font-weight:650;padding:10px 4px}.mtl-text-link-light:hover{color:#fff}.mtl-hero-proof{display:flex;flex-wrap:wrap;gap:10px 22px;color:#D3E2EE;font-size:.83rem}.mtl-hero-proof span:before{content:'✓';color:#7DD3A7;margin-right:7px;font-weight:800}.mtl-hero-visual{position:relative;border:1px solid rgba(255,255,255,.18);border-radius:18px;padding:10px;background:rgba(255,255,255,.07);box-shadow:0 30px 80px rgba(0,0,0,.22)}.mtl-hero-visual img{width:100%;aspect-ratio:1.36;object-fit:cover;border-radius:12px}.mtl-visual-caption{position:absolute;left:24px;bottom:22px;background:rgba(16,36,58,.92);color:#fff;padding:11px 15px;border:1px solid rgba(255,255,255,.2);border-radius:8px;font-size:.82rem;font-weight:600}.mtl-caption-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#F28C28;margin-right:8px}.mtl-trust-strip{padding:22px 0;background:#fff;border-bottom:1px solid var(--line)}.mtl-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.mtl-trust-grid>div{display:flex;flex-direction:column;align-items:center;text-align:center;border-right:1px solid var(--line)}.mtl-trust-grid>div:last-child{border:0}.mtl-trust-grid strong{font-size:1.22rem;color:var(--navy)}.mtl-trust-grid span{font-size:.82rem;color:var(--muted)}.mtl-section-heading{max-width:790px;margin-bottom:34px}.mtl-section-heading h2{font-size:clamp(1.85rem,3vw,2.65rem);margin-bottom:12px}.mtl-section-heading>p{color:var(--muted);font-size:1.04rem;max-width:70ch}.mtl-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.mtl-value-card{padding:25px;min-height:230px;border:1px solid var(--line);box-shadow:var(--shadow)}.mtl-card-icon{display:inline-grid;place-items:center;width:42px;height:42px;background:var(--cobalt-soft);color:var(--cobalt);border-radius:10px;font-weight:800;font-size:.8rem;margin-bottom:18px}.mtl-value-card h3{font-size:1.12rem}.mtl-value-card p{font-size:.94rem;color:var(--muted);margin:0}.mtl-domain-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.mtl-domain-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}.mtl-domain-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}.mtl-domain-card>img{width:100%;height:205px;object-fit:cover;background:#e9eef4}.mtl-domain-body{padding:21px 22px 23px}.mtl-domain-body>span,.mtl-project-card>span{font:700 .7rem/1.3 var(--mono);letter-spacing:.09em;color:var(--cobalt)}.mtl-domain-body h3{margin:9px 0;font-size:1.2rem}.mtl-domain-body p{font-size:.92rem;color:var(--muted);min-height:76px}.mtl-domain-body small{display:block;color:#526579;font-size:.78rem;min-height:25px}.mtl-domain-body a{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:13px;border-top:1px solid var(--line);font-weight:700;font-size:.9rem}.mtl-domain-body a b{font-size:1.2rem}.mtl-center-cta{text-align:center;margin-top:32px}.mtl-process-flow{display:flex;align-items:stretch;gap:8px;margin:32px 0 26px}.mtl-process-flow>div{flex:1;min-width:0;padding:17px 13px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:10px;display:flex;flex-direction:column;gap:8px}.mtl-process-flow>div>b{font:700 .75rem var(--mono);color:#78C4F5}.mtl-process-flow strong{color:#fff;font-size:.9rem}.mtl-process-flow small{color:#B8CAD9;font-size:.75rem;line-height:1.45}.mtl-process-flow>i{align-self:center;color:#F28C28;font-style:normal;font-weight:800}.mtl-lifecycle-note{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:32px;margin:28px 0}.mtl-lifecycle-note img{width:100%;max-height:240px;object-fit:contain;background:#fff;border-radius:12px;padding:10px}.mtl-lifecycle-note p{color:#D5E2ED}.mtl-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mtl-method-grid article{padding:23px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.mtl-method-grid article>b{font:800 .78rem var(--mono);color:var(--amber)}.mtl-method-grid h3{font-size:1.05rem;margin:12px 0 8px}.mtl-method-grid p{color:var(--muted);font-size:.9rem;margin:0}.mtl-career-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:50px;align-items:center}.mtl-career-image{width:100%;margin-top:22px;border-radius:14px;aspect-ratio:1.6;object-fit:cover}.mtl-career-list{display:grid;gap:8px}.mtl-career-list>a{display:grid;grid-template-columns:36px 1fr 20px;gap:14px;align-items:center;padding:15px 16px;background:#fff;border:1px solid var(--line);border-radius:11px;color:var(--ink);transition:border .15s,transform .15s}.mtl-career-list>a:hover{border-color:#8DBDE0;transform:translateX(3px)}.mtl-career-list>a>span{font:700 .75rem var(--mono);color:var(--cobalt)}.mtl-career-list h3{font-size:1rem;margin:0 0 3px}.mtl-career-list p{font-size:.84rem;color:var(--muted);margin:0}.mtl-career-list>a>b{color:var(--amber)}.mtl-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.mtl-project-card{display:block;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;color:var(--ink);box-shadow:var(--shadow)}.mtl-project-card:hover{color:var(--ink);transform:translateY(-3px);box-shadow:var(--shadow-lg)}.mtl-project-card img{width:100%;height:190px;object-fit:cover;background:#edf2f7}.mtl-project-card>span{display:block;padding:18px 20px 0}.mtl-project-card h3{font-size:1.08rem;padding:0 20px;margin:8px 0}.mtl-project-card p{font-size:.88rem;color:var(--muted);padding:0 20px 18px;margin:0}.mtl-about-home{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.mtl-founder-panel{position:relative;border-radius:16px;overflow:hidden;background:#fff;box-shadow:var(--shadow-lg)}.mtl-founder-panel img{width:100%;height:330px;object-fit:cover}.mtl-founder-panel>div{display:flex;flex-direction:column;gap:5px;padding:20px}.mtl-founder-panel strong{color:var(--navy)}.mtl-founder-panel span{color:var(--muted);font-size:.88rem}.mtl-resource-band .mtl-grid-3{gap:18px}.mtl-resource-card{display:flex;flex-direction:column;min-height:190px;padding:24px;border:1px solid rgba(255,255,255,.18);border-radius:13px;background:rgba(255,255,255,.06);color:#fff}.mtl-resource-card:hover{background:rgba(255,255,255,.11);color:#fff}.mtl-resource-card>b{font:700 .7rem var(--mono);color:#8CCDF5}.mtl-resource-card h3{color:#fff;margin:20px 0 12px}.mtl-resource-card span{margin-top:auto;color:#C5D7E6;font-size:.87rem}.mtl-faq-list{max-width:900px}.mtl-faq-list details{padding:19px 22px;margin:10px 0;background:#fff;border:1px solid var(--line);border-radius:10px}.mtl-faq-list summary{font-weight:700;color:var(--ink);cursor:pointer}.mtl-faq-list p{margin:12px 0 0;color:var(--muted)}
@media(max-width:1050px){.mtl-grid-4{grid-template-columns:repeat(2,1fr)}.mtl-domain-grid,.mtl-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mtl-process-flow{display:grid;grid-template-columns:repeat(4,1fr)}.mtl-process-flow>i{display:none}}
@media(max-width:760px){.mtl-home-hero .mtl-hero-grid,.mtl-career-layout,.mtl-about-home,.mtl-lifecycle-note{grid-template-columns:1fr}.mtl-home-copy h1{font-size:clamp(2.25rem,9vw,3.1rem)}.mtl-hero-visual{max-width:650px}.mtl-trust-grid{grid-template-columns:repeat(2,1fr);row-gap:18px}.mtl-trust-grid>div:nth-child(2){border:0}.mtl-process-flow{grid-template-columns:repeat(2,1fr)}.mtl-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mtl-career-layout{gap:25px}.mtl-career-image{max-height:260px}}
@media(max-width:520px){.mtl-grid-4,.mtl-domain-grid,.mtl-project-grid,.mtl-method-grid{grid-template-columns:1fr}.mtl-domain-card>img{height:215px}.mtl-project-card img{height:210px}.mtl-hero-cta{align-items:stretch;flex-direction:column}.mtl-hero-cta .mtl-btn{width:100%}.mtl-visual-caption{left:16px;right:16px;bottom:16px;font-size:.72rem}.mtl-trust-grid strong{font-size:1.05rem}.mtl-trust-grid span{font-size:.73rem}.mtl-process-flow{grid-template-columns:1fr 1fr}.mtl-value-card{min-height:auto}.mtl-career-list>a{grid-template-columns:28px 1fr 16px;padding:13px 11px}.mtl-founder-panel img{height:230px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* ==========================================================================
   DEC 2026 SITE-WIDE READABILITY, FITMENT & FROZEN HEADER/FOOTER REFINEMENT
   Applied consistently to all 153 HTML pages.
   ========================================================================== */
:root {
  --mtl-topbar-height: 38px;
  --mtl-bottom-dock-height: 54px;
  --mtl-body-readable: #334155;
  --mtl-muted-readable: #526579;
}
html { scroll-padding-top: calc(var(--hh) + var(--mtl-topbar-height) + 16px); }
body {
  color: var(--mtl-body-readable);
  padding-bottom: var(--mtl-bottom-dock-height);
  overflow-x: clip;
}
.mtl-topbar {
  position: sticky;
  top: 0;
  z-index: 111;
  min-height: var(--mtl-topbar-height);
  display: flex;
  align-items: center;
  background: #050B13;
  color: #F1F5F9;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font: 600 11px/1.35 var(--mono);
  letter-spacing: .045em;
}
.mtl-topbar-inner {
  width: min(var(--max), 100% - 2 * var(--pad));
  min-height: var(--mtl-topbar-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mtl-topbar-location { color: #F5A34F; }
.mtl-topbar-position { color: #D7E1EC; }
.mtl-topbar-links { display:flex; align-items:center; justify-content:flex-end; gap:14px; white-space:nowrap; }
.mtl-topbar a { color:#F8FAFC; }
.mtl-topbar a:hover { color:#FDBA74; }
.mtl-header {
  position: sticky;
  top: var(--mtl-topbar-height);
  z-index: 110;
  min-height: var(--hh);
}
.mtl-header-inner { min-width: 0; }
.mtl-nav { min-width: 0; }
.mtl-nav-trigger { color:#243447; }
.mtl-dropdown { max-height: min(72vh, 680px); overflow-y:auto; }
.mtl-mobile-nav {
  top: calc(var(--hh) + var(--mtl-topbar-height));
  max-height: calc(100dvh - var(--hh) - var(--mtl-topbar-height));
}
.mtl-bottom-dock {
  position: fixed;
  z-index: 150;
  inset: auto 0 0;
  min-height: var(--mtl-bottom-dock-height);
  display: flex;
  align-items: center;
  background: #06130F;
  color: #F1F5F9;
  border-top: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 -5px 24px rgba(5,15,25,.16);
}
.mtl-bottom-dock-inner {
  width: min(1400px, 100% - 40px);
  min-height: var(--mtl-bottom-dock-height);
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:12px;
}
.mtl-bottom-dock-copy { color:#DCE6E2; }
.mtl-bottom-dock-tagline {
  display:block;
  margin-top:3px;
  color:#AFC2B9;
  font: 10px/1.3 var(--mono);
  letter-spacing:.12em;
  text-transform:uppercase;
}
.mtl-bottom-dock-links { display:flex; align-items:center; gap:16px; }
.mtl-bottom-dock a { color:#F1F5F9; font-weight:600; white-space:nowrap; }
.mtl-bottom-dock a:hover { color:#FDBA74; }
.mtl-bottom-dock .mtl-dock-demo {
  background:#F28C28; color:#172536; padding:9px 14px; border-radius:22px;
}
.mtl-bottom-dock .mtl-dock-whatsapp {
  background:#16C765; color:#062B19; padding:9px 14px; border-radius:22px;
}
/* Text and component legibility on light surfaces */
.mtl-article, .mtl-main, main { color:#334155; }
.mtl-article p, .mtl-main p, main p { line-height:1.72; }
.mtl-article small, .mtl-main small, main small { color:#526579; }
.mtl-article a:not(.mtl-btn):not(.btn), .mtl-main a:not(.mtl-btn):not(.btn) { text-underline-offset:3px; }
.mtl-article section:not(.hero):not(.page-hero):not(.domain-hero),
.mtl-article .section:not(.hero):not(.page-hero):not(.domain-hero) { color:#334155; }
.mtl-article section:not(.hero):not(.page-hero):not(.domain-hero) p,
.mtl-article .section:not(.hero):not(.page-hero):not(.domain-hero) p { color:#475569; }
.mtl-dark, .mtl-hero, .mtl-article .hero, .mtl-article .page-hero, .mtl-article .domain-hero {
  color:#E2E8F0;
}
.mtl-dark p, .mtl-hero p, .mtl-article .hero p, .mtl-article .page-hero p, .mtl-article .domain-hero p { color:#D7E2ED; }
.mtl-dark a:not(.mtl-btn):not(.btn), .mtl-hero a:not(.mtl-btn):not(.btn) { color:#9DD5FF; }
.mtl-footer { color:#D5DFE9; }
.mtl-footer p, .mtl-footer li { color:#C5D1DD; }
.mtl-footer a { color:#EAF1F8; }
.mtl-footer h3 { color:#B8C7D6; }
.mtl-eyebrow { color:#145A91; }
.mtl-card, .card, .panel, .callout, .note-box { color:#334155; }
.mtl-card p, .card p, .panel p, .callout p, .note-box p { color:#526579; }
table { color:#334155; }
th { color:#FFFFFF; background:#10243A; }
td { color:#334155; }
label, .mtl-field label { color:#243447; }
input, select, textarea { color:#243447; background:#FFFFFF; }
::placeholder { color:#64748B; opacity:1; }
/* Prevent wide tables, diagrams, code and embedded media from forcing page overflow */
.mtl-main-inner, .mtl-wrap, .wrap, .container, .mtl-article, main { min-width:0; }
pre, code { max-width:100%; overflow-x:auto; }
iframe, embed, object { max-width:100%; }
.mtl-article img, main img { max-width:100%; height:auto; }
.mtl-article table, main table { max-width:100%; }
@media (max-width: 760px) {
  :root { --mtl-topbar-height: 36px; --mtl-bottom-dock-height: 58px; }
  .mtl-topbar-inner { justify-content:center; gap:8px; font-size:9px; }
  .mtl-topbar-position { display:none; }
  .mtl-topbar-links { gap:10px; }
  .mtl-header-inner { gap:8px; }
  .mtl-brand img { max-width:132px; height:auto; }
  .mtl-bottom-dock-inner { width:calc(100% - 24px); gap:8px; }
  .mtl-bottom-dock-copy { font-size:10px; }
  .mtl-bottom-dock-tagline { display:none; }
  .mtl-bottom-dock-links { gap:7px; }
  .mtl-bottom-dock-links a { font-size:10px; }
  .mtl-bottom-dock .mtl-dock-demo, .mtl-bottom-dock .mtl-dock-whatsapp { padding:9px 10px; }
}
@media (max-width: 420px) {
  .mtl-topbar-inner { width:calc(100% - 20px); }
  .mtl-topbar-location { font-size:8px; }
  .mtl-bottom-dock-copy { max-width:105px; line-height:1.25; }
  .mtl-bottom-dock-links { gap:5px; }
  .mtl-bottom-dock-links a { font-size:9px; }
  .mtl-bottom-dock-links a:nth-child(1), .mtl-bottom-dock-links a:nth-child(2) { display:none; }
}
@media (prefers-reduced-motion: reduce) {
  .mtl-topbar, .mtl-header, .mtl-bottom-dock { scroll-behavior:auto; }
}

/* Correct legacy inline muted-grey text that becomes too faint on light backgrounds */
body [style*="color:#94A3B8"], body [style*="color: #94A3B8"],
body [style*="color:#8EA0B8"], body [style*="color: #8EA0B8"] { color:#526579 !important; }
.mtl-footer [style*="color:#94A3B8"], .mtl-footer [style*="color: #94A3B8"],
.mtl-footer [style*="color:#8EA0B8"], .mtl-footer [style*="color: #8EA0B8"] { color:#C5D1DD !important; }
.mtl-dark [style*="color:#94A3B8"], .mtl-dark [style*="color: #94A3B8"],
.mtl-hero [style*="color:#94A3B8"], .mtl-hero [style*="color: #94A3B8"],
.mtl-article .hero [style*="color:#94A3B8"], .mtl-article .page-hero [style*="color:#94A3B8"] { color:#D7E2ED !important; }

/* Footer sign-off update — December 2026 */
.mtl-footer-bottom {
  display: block;
  padding-top: 22px;
  font-size: 0.8125rem;
  color: #94A3B8;
}
.mtl-footer-signoff {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.mtl-footer-academy {
  color: #E2E8F0;
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 800;
  letter-spacing: .075em;
  line-height: 1.35;
}
.mtl-footer-tagline {
  color: #94A3B8;
  font-size: .8125rem;
  line-height: 1.5;
}

/* ===== v4 refinements: hero fit, logo scale, above-the-fold CTAs ===== */
.mtl-home-hero{padding:clamp(36px,4.2vw,64px) 0}
.mtl-home-hero .mtl-hero-grid{align-items:center}
@media(min-width:761px){.mtl-home-hero .mtl-hero-grid{grid-template-columns:1.05fr .95fr}}
.mtl-home-copy h1{font-size:clamp(2.1rem,3.7vw,3.35rem);line-height:1.1;max-width:680px}
.mtl-hero-lead{font-size:clamp(1rem,1.2vw,1.12rem);line-height:1.6}
.mtl-hero-cta{margin:20px 0 18px}
.mtl-hero-visual img{aspect-ratio:900/543;object-fit:contain;background:#0d1e31;height:auto}
.mtl-brand img{height:46px;width:auto}
@media(max-width:760px){
  .mtl-home-hero{padding:28px 0 36px}
  .mtl-brand img{height:38px;max-width:96px;width:auto}
  .mtl-home-copy h1{font-size:clamp(1.9rem,8vw,2.5rem)}
  .mtl-hero-domains{display:none}
}
@media(min-width:761px) and (max-height:820px){.mtl-hero-proof{display:none}}
.contact-line{display:flex;flex-wrap:wrap;gap:8px 18px;max-width:100%}
.contact-line a{overflow-wrap:anywhere;min-width:0}
.table-wrap,.mtl-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:700px){.panel-cols{grid-template-columns:1fr!important}}
.bullet-run li,.technical-content li,.technical-content p{overflow-wrap:anywhere}
