/* Mildex Engineering Blog — Figma rev 2026-09-02 */
:root {
  --eng-ink: #0f172a;
  --eng-flow: #061120;
  --eng-deep: #052526;
  --eng-green: #16a34a;
  --eng-green-btn: #2cbe62;
  --eng-body: #cbd5e1;
  --eng-muted: #94a3b8;
  --eng-border: #dbe4e8;
  --eng-paper: #ffffff;
  --eng-atlas: #eef0f2;
}
* { box-sizing: border-box; }
.eng-page { margin: 0; background: var(--eng-paper); color: var(--eng-ink); }
.eng-skip { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; border-radius: .5rem; background: #fff; color: var(--eng-ink); font-weight: 700; }
.eng-skip:focus { top: 1rem; }
.eng-nav { position: relative; z-index: 20; min-height: 80px; background: var(--eng-ink); }
.eng-nav__inner { width: min(1312px, calc(100% - 48px)); min-height: 80px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.eng-nav__brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.eng-nav__brand img { display: block; width: 142px; height: auto; }
.eng-nav__links { display: flex; align-items: center; gap: 4px; }
.eng-nav__links a, .eng-nav__cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 10px; color: #fff; font-size: .875rem; font-weight: 700; text-decoration: none; }
.eng-nav__links a:hover, .eng-nav__links a[aria-current="page"] { background: rgba(255,255,255,.10); }
.eng-nav__cta { min-width: 131px; background: var(--eng-green); }
.eng-nav__cta:hover { background: #22b957; }
.eng-nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; }
.eng-nav__mobile { display: none; padding: 0 24px 20px; background: var(--eng-ink); }
.eng-nav__mobile a { display: block; padding: 11px 12px; border-radius: 8px; color: #fff; font-size: .875rem; font-weight: 700; text-decoration: none; }
.eng-nav__mobile a:hover { background: rgba(255,255,255,.1); }
.eng-nav__mobile:not(.hidden) { display: block; }
.eng-hero { min-height: 500px; display: flex; align-items: center; padding: 88px 24px; background: linear-gradient(135deg, var(--eng-flow) 0%, var(--eng-ink) 66%, #073238 100%); color: #fff; }
.eng-hero__inner { width: min(720px, 100%); margin: 0 auto; }
.eng-eyebrow { margin: 0 0 22px; color: #22c55e; font-size: .75rem; font-weight: 700; letter-spacing: .11em; line-height: 1.35; text-transform: uppercase; }
.eng-hero h1 { margin: 0; font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(3rem, 5vw, 4.25rem); font-weight: 400; letter-spacing: .005em; line-height: 1.02; text-transform: uppercase; text-wrap: balance; }
.eng-deck { margin: 24px 0 0; color: var(--eng-body); font-size: 1.0625rem; line-height: 1.55; }
.eng-article { width: min(720px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 88px; }
.eng-article > p:first-child { margin-top: 0; color: #1f2937; font-size: 1.125rem; line-height: 1.65; }
.eng-article h2 { margin: 3rem 0 1rem; color: var(--eng-ink); font-family: 'Bebas Neue', Impact, sans-serif; font-size: 2.25rem; font-weight: 400; letter-spacing: .01em; line-height: 1.1; text-transform: uppercase; }
.eng-article h3 { margin: 1.75rem 0 .75rem; color: var(--eng-ink); font-size: 1.05rem; font-weight: 800; }
.eng-article p, .eng-article li { color: #334155; font-size: .96875rem; line-height: 1.65; }
.eng-article p { margin: 0 0 1rem; }
.eng-article ul, .eng-article ol { margin: .75rem 0 1.25rem; padding-left: 1.35rem; }
.eng-article li { margin-bottom: .65rem; }
.eng-article strong { color: var(--eng-ink); }
.eng-figure { width: min(960px, calc(100vw - 40px)); margin: 40px 50% 44px; transform: translateX(-50%); }
.eng-figure--wide { width: min(1120px, calc(100vw - 32px)); }
.eng-figure img { display: block; width: 100%; height: auto; border: 1px solid #d6dde0; background: var(--eng-atlas); box-shadow: 0 18px 45px rgba(15,23,42,.08); }
.eng-figure figcaption { margin-top: 12px; color: #64748b; font-size: .8125rem; line-height: 1.5; text-align: center; }
.eng-table-wrap { width: min(960px, calc(100vw - 40px)); margin: 24px 50% 12px; overflow-x: auto; transform: translateX(-50%); border: 1px solid var(--eng-border); background: #fff; }
.eng-specs { width: 100%; border-collapse: collapse; font-size: .875rem; }
.eng-specs th, .eng-specs td { padding: 12px 14px; border-bottom: 1px solid var(--eng-border); text-align: left; vertical-align: top; }
.eng-specs th { background: #f1f5f9; color: var(--eng-ink); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.eng-specs tr:last-child td { border-bottom: 0; }
.eng-source-note { color: #64748b !important; font-size: .8125rem !important; }
.eng-callout { margin: 2rem 0; padding: 20px 22px; border-left: 4px solid var(--eng-green); background: #f0fdf4; }
.eng-callout p:last-child { margin-bottom: 0; }
.eng-cta { margin-top: 3.25rem; padding: 32px; border-radius: 16px; background: var(--eng-deep); color: #fff; }
.eng-cta .eng-eyebrow { margin-bottom: 12px; }
.eng-cta h2 { margin: 0; color: #fff; font-size: 2rem; }
.eng-cta p { margin: 14px 0 22px; color: var(--eng-body); }
.eng-cta a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 20px; border-radius: 10px; background: var(--eng-green-btn); color: #061120; font-size: .875rem; font-weight: 800; text-decoration: none; }
.eng-cta a:hover { background: #35d46f; }
.eng-article__back { margin-top: 32px !important; text-align: center; }
.eng-article__back a { color: #15803d; font-size: .875rem; font-weight: 700; }
@media (max-width: 900px) {
  .eng-nav__links, .eng-nav__cta { display: none; }
  .eng-nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .eng-nav__inner { width: min(100% - 32px, 1312px); }
  .eng-hero { min-height: 440px; padding: 72px 20px; }
  .eng-table-wrap { width: calc(100vw - 32px); }
}
@media (max-width: 600px) {
  .eng-nav, .eng-nav__inner { min-height: 72px; }
  .eng-nav__brand img { width: 126px; }
  .eng-hero { min-height: 410px; padding: 58px 20px; }
  .eng-hero h1 { font-size: clamp(2.55rem, 12vw, 3.35rem); }
  .eng-deck { font-size: 1rem; }
  .eng-article { width: min(100% - 32px, 720px); padding: 52px 0 68px; }
  .eng-article h2 { font-size: 2rem; }
  .eng-figure { width: calc(100vw - 24px); margin-top: 30px; margin-bottom: 34px; overflow-x: auto; }
  .eng-figure img { min-width: 0; }
  .eng-figure figcaption { width: 100vw; max-width: calc(100vw - 32px); margin-left: auto; margin-right: auto; }
  .eng-cta { padding: 26px 22px; }
  .eng-cta a { width: 100%; }
}

.eng-figure__media { display: block; color: inherit; text-decoration: none; }
.eng-figure__open, .eng-mobile-summary { display: none; }
@media (max-width: 600px) {
  .eng-figure { overflow: visible; }
  .eng-figure__media { border-radius: 10px; overflow: hidden; }
  .eng-mobile-summary { display: block; margin-top: 14px; padding: 18px; border: 1px solid #dbe4e8; border-radius: 12px; background: #f8fafc; }
  .eng-mobile-summary__label { margin: 0 0 10px !important; color: #15803d !important; font-size: .7rem !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .eng-mobile-summary ol { margin: 0; padding-left: 1.2rem; }
  .eng-mobile-summary li { margin: 0 0 .5rem; color: #334155; font-size: .84rem; line-height: 1.45; }
  .eng-mobile-summary li:last-child { margin-bottom: 0; }
  .eng-figure__open { display: inline-flex; min-height: 44px; align-items: center; margin-top: 10px; padding: 0 14px; border: 1px solid #bbf7d0; border-radius: 9px; background: #f0fdf4; color: #15803d; font-size: .8rem; font-weight: 800; text-decoration: none; }
}

.eng-hero__actions,.eng-guide-promo__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.eng-hero__actions a,.eng-guide-promo__actions a{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:0 18px;border-radius:8px;background:#16a34a;color:#fff;font-size:.86rem;font-weight:800;text-decoration:none}.eng-hero__actions .eng-link-secondary,.eng-guide-promo__actions .eng-link-secondary{border:1px solid rgba(255,255,255,.36);background:transparent}.eng-guide-promo{width:min(960px,calc(100vw - 40px));margin:46px 50% 8px;transform:translateX(-50%);padding:30px;border-radius:16px;background:linear-gradient(135deg,#071827,#0b2d2e);color:#fff}.eng-guide-promo h2,.eng-guide-promo p{color:#fff}.eng-guide-promo .eng-eyebrow{color:#4ade80}.eng-figure__media{cursor:default}.eng-figure__open{display:none}
@media(max-width:600px){.eng-hero__actions{flex-direction:column;align-items:stretch}.eng-hero__actions a{width:100%}.eng-guide-promo{width:calc(100vw - 28px);padding:22px}.eng-guide-promo__actions{flex-direction:column}.eng-guide-promo__actions a{width:100%}.eng-figure__open{display:inline-flex}}
