@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B2545;
  --navy-deep: #081C34;
  --blue: #1E4E8C;
  --bg: #FFFFFF;
  --bg-alt: #F3F6F9;
  --line: #D4DCE6;
  --muted: #3E5570;
  --white: #FFFFFF;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--navy);
  background: var(--bg);
  font-family: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
a:hover { color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: #D6E2F0;
  color: var(--navy);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  z-index: 10;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(1040px, calc(100% - 3rem));
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex;
  align-items: center;
  gap: 1.5rem 2rem;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  flex: none;
  text-decoration: none;
  color: inherit;
}
.brand img {
  height: 36px;
  width: auto;
}
.site-nav {
  margin-left: auto;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--navy); color: var(--navy); }
.site-nav a[aria-current="page"] {
  font-weight: 600;
  border-bottom-color: var(--navy);
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.lang a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
}
.lang a:hover { color: var(--navy); }
.lang a[aria-current="true"] {
  color: var(--navy);
  font-weight: 600;
}
.lang .sep { color: var(--line); user-select: none; }

/* Main */
.page { padding: 3rem 0 4.5rem; }

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.1vw, 2.2rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
  max-width: 22ch;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 40rem;
  color: var(--navy);
}

.prose {
  max-width: 40rem;
}
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}
.cta-row a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--navy);
}
.cta-row a:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* Home process preview */
.section-head {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.preview-steps {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  max-width: 40rem;
  border-top: 1px solid var(--line);
}
.preview-steps li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.preview-steps .n {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  font-size: 0.9rem;
}
.preview-steps a {
  color: var(--navy);
  text-decoration: none;
}
.preview-steps a:hover { color: var(--blue); }

/* Process page */
.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  max-width: 42rem;
}
.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.9rem 1.1rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  padding-top: 0.15rem;
}
.steps h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.steps p { margin: 0; color: var(--navy); }

/* Equipment list */
.cat-list {
  list-style: none;
  margin: 1.75rem 0 1.75rem;
  padding: 0;
  max-width: 40rem;
  border-top: 1px solid var(--line);
}
.cat-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.note {
  max-width: 40rem;
  color: var(--muted);
}

/* Contact */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 4rem;
  max-width: 48rem;
  margin-top: 0.5rem;
}
.dl {
  margin: 0;
}
.dl div {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.dl div:first-child { border-top: 1px solid var(--line); }
.dl dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.2rem;
}
.dl dd { margin: 0; font-size: 1.05rem; }
.dl a { color: var(--navy); text-decoration: none; }
.dl a:hover { color: var(--blue); text-decoration: underline; }

.include { margin: 0; }
.split h2,
.include h2 {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.include ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.include li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

/* 404 */
.not-found h1 { max-width: none; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.75rem 2rem;
}
.footer-brand .name {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0 0.35rem;
}
.footer-brand p {
  margin: 0;
  color: #C9D6E5;
  max-width: 16rem;
}
.site-footer h2 {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A9BDD2;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li { margin: 0 0 0.35rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #1E3A5C;
  font-size: 0.88rem;
  color: #A9BDD2;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

@media (max-width: 800px) {
  .wrap { width: min(1040px, calc(100% - 2rem)); }
  .site-header .inner {
    flex-wrap: wrap;
    min-height: 0;
    padding-top: 0.85rem;
    gap: 0.65rem 1rem;
  }
  .brand { order: 1; }
  .lang { order: 2; margin-left: auto; }
  .site-nav {
    order: 3;
    flex: 1 0 100%;
    margin-left: 0;
    border-top: 1px solid var(--line);
  }
  .site-nav ul { padding: 0.7rem 0 0.75rem; gap: 0.35rem 1.1rem; }
  .page { padding: 2rem 0 3rem; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand img { height: 32px; }
  h1 { max-width: none; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .steps li,
  .preview-steps li { grid-template-columns: 2.2rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
