/* MPI site layer — page layout on top of the Industry design system (industry.css).
   Colors, type and spacing come from its tokens; the few brand values the handoff
   names that the system does not (link color, display sizes) are set here. */

:root {
  --wrap: 1120px;
  --gutter: 16px;
  --link: var(--color-accent-700);       /* #416180 — accent for body-size text */
  --link-hover: var(--color-accent-900); /* #1d2d3d */
  --navy: var(--color-accent-900);
  --rule: var(--color-divider);
  --section-y: 72px;
}
@media (min-width: 720px) { :root { --gutter: 32px; --section-y: 96px; } }

html { scroll-behavior: smooth; }
body { font-size: 16px; line-height: 1.55; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
h1, h2, h3 { color: var(--navy); }
.icon { display: block; flex: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 10;
  background: var(--navy); color: var(--color-bg); padding: 8px 14px;
}
.skip:focus { top: 8px; }

/* — type — */
.eyebrow {
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--link);
  margin: 0 0 var(--space-4);
}
.display { font-size: 38px; line-height: 1; letter-spacing: -0.01em; margin-bottom: var(--space-6); }
@media (min-width: 720px) { .display { font-size: 48px; } }
.section-title { font-size: 30px; margin-bottom: var(--space-4); }
.lead { font-size: 18px; color: var(--color-neutral-800); max-width: 38em; }
.muted { color: var(--color-neutral-700); }
.small { font-size: 14px; }

/* — header — */
.site-header {
  border-bottom: 1px solid var(--rule); background: var(--color-bg);
  position: sticky; top: 0; z-index: 5;
}
.header-row { display: flex; align-items: center; gap: var(--space-6); min-height: 80px; }
.brand { display: block; margin-right: auto; }
.brand img { height: 52px; width: auto; }
.brand-mark { display: none; }
.site-nav { display: flex; gap: var(--space-6); }
.site-nav a, .menu-panel a {
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  color: var(--color-neutral-800);
}
.site-nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--navy); border-bottom-color: var(--color-accent-300); }
.site-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--color-accent); }

.menu { display: none; position: relative; }
.menu summary { list-style: none; color: var(--navy); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .icon:last-child, .menu[open] summary .icon:first-child { display: none; }
.menu[open] summary .icon:last-child { display: block; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px;
  display: flex; flex-direction: column; background: var(--color-bg);
  border: 1px solid var(--rule); box-shadow: var(--shadow-md);
}
.menu-panel a { padding: 14px 18px; border-top: 1px solid var(--color-neutral-200); }
.menu-panel a:first-child { border-top: 0; }
.menu-panel a:hover { background: var(--color-accent-200); }
.menu-panel a[aria-current="page"] { color: var(--navy); box-shadow: inset 3px 0 0 var(--color-accent); }

@media (max-width: 1000px) {
  .site-nav { display: none; }
  .menu { display: block; }
}
@media (max-width: 520px) {
  .header-row { min-height: 64px; }
  .brand-lockup { display: none; }
  .brand-mark { display: block; }
  .brand img { height: 40px; }
}

/* — sections — */
.section { padding: var(--section-y) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { max-width: 40em; margin-bottom: var(--space-8); }

/* Hero: a faint drafting grid behind the opening of each page. */
.hero {
  padding: calc(var(--section-y) * 0.9) 0 var(--section-y);
  border-bottom: 1px solid var(--rule);
  background-image:
    linear-gradient(var(--color-neutral-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-neutral-200) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 64px; } }
.hero .lead { margin-bottom: var(--space-8); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* — buttons: sized up for the site, primary wears its registration marks — */
.btn { font-size: 16px; letter-spacing: 0.04em; padding: 12px 20px; gap: 8px; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-secondary { color: var(--navy); background: var(--color-bg); }
.btn-secondary:hover { background: var(--color-accent-200); color: var(--navy); }
.btn-secondary:active { background: var(--color-accent-300); }
.btn-icon { padding: 0; width: 44px; height: 44px; }

/* — spec-sheet plate: facts drawn as a blueprint table — */
.plate { background: transparent; }
.plate dl { margin: 0; }
.plate-row {
  display: grid; grid-template-columns: 9.5em 1fr; gap: 16px;
  padding: 16px 20px; border-top: 1px solid var(--rule);
}
.plate-row:first-child { border-top: 0; }
.plate dt {
  font-family: var(--font-heading); font-weight: 600; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-neutral-700);
  padding-top: 2px;
}
.plate dd { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: 20px; color: var(--navy); line-height: 1.3; }
.plate-cap {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 20px; border-bottom: 1px solid var(--rule);
  font-family: var(--font-heading); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-700);
}
@media (max-width: 420px) { .plate-row { grid-template-columns: 1fr; gap: 2px; } }

/* — modular grid of cards — */
.grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { padding: 28px 24px; gap: 12px; }
.card .icon { color: var(--color-accent); width: 32px; height: 32px; margin-bottom: 6px; }
.card .btn .icon { color: currentColor; width: 18px; height: 18px; margin: 0; }
.card-kicker { font-family: var(--font-heading); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; color: var(--color-accent-700); }
.card-title { font-size: 24px; color: var(--navy); margin: 0; }
.card-body { font-size: 15px; opacity: 1; color: var(--color-neutral-800); }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-family: var(--font-heading); font-weight: 600; font-size: 15px;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
}
.card-link .icon { width: 16px; height: 16px; color: currentColor; margin: 0; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { background: color-mix(in srgb, var(--color-accent-200) 45%, transparent); }
a.card:hover .card-link { color: var(--link-hover); }

/* Numbered steps */
.step-num {
  font-family: var(--font-heading); font-weight: 600; font-size: 44px; line-height: 1;
  color: var(--color-accent);
}

/* Two-column text + aside */
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; } }
.prose p { max-width: 38em; }
.prose h2 { margin-top: var(--space-8); }
.prose h2:first-child { margin-top: 0; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--color-neutral-200); }
.checklist li:first-child { border-top: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px;
  border-left: 1.5px solid var(--color-accent); border-bottom: 1.5px solid var(--color-accent);
  transform: rotate(-45deg);
}

/* Contact rows */
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .icon { margin-top: 2px; }
.contact-big { font-family: var(--font-heading); font-weight: 600; font-size: 24px; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
a.contact-big:hover { color: var(--link); text-decoration: underline; }

/* — call to action band on the navy field — */
.cta-band { background: var(--navy); color: var(--color-bg); padding: 64px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: var(--color-bg); font-size: 30px; margin: 0 0 4px; }
.cta-band p { margin: 0; color: var(--color-accent-300); }
.cta-band .btn-primary { background: var(--color-bg); border-color: var(--color-bg); color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--color-accent-200); border-color: var(--color-accent-200); }
.cta-band .btn-primary:active { background: var(--color-accent-400); }
.cta-band .btn-secondary { background: transparent; color: var(--color-bg); border-color: rgba(242,242,243,0.35); }
.cta-band .btn-secondary:hover { background: rgba(242,242,243,0.1); }
.cta-band .blueprint > .corner { color: rgba(242,242,243,0.55); }
.cta-band :focus-visible { outline-color: var(--color-accent-400); }

/* — footer: navy field, reverse lockup — */
.site-footer { background: var(--navy); color: var(--color-neutral-300); padding: 64px 0 28px; border-top: 1px solid rgba(242,242,243,0.12); }
.cta-band + .site-footer { border-top-color: rgba(242,242,243,0.18); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand img { width: 260px; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 26em; font-size: 15px; }
.footer-head {
  font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-accent-400); margin-bottom: 14px;
}
.footer-list { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.footer-list li { padding: 4px 0; }
.site-footer a { color: var(--color-bg); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent-400); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--color-accent-400); }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  border-top: 1px solid rgba(242,242,243,0.18); padding-top: 22px;
  font-family: var(--font-heading); font-weight: 500; font-size: 14px; letter-spacing: 0.06em;
  color: var(--color-accent-400);
}
