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

/* DELEVEL — deleveltool.com
   Palette grounded in the subject: machined steel neutrals, one brand red.
   Type: IBM Plex Sans throughout, tabular figures in all specification tables. */

:root {
  --paper: #ffffff;
  --steel: #f0f2f3;
  --steel-deep: #e6e9eb;
  --ink: #16181b;
  --grey: #5c6166;
  --grey-soft: #8d9297;
  --rule: #dce0e3;
  --red: #dd4013;
  --red-deep: #b8330f;

  --measure: 66ch;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --pad-x: clamp(1.25rem, 5vw, 4.5rem);
  --band: clamp(3.5rem, 7vw, 6rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 600; line-height: 1.18; margin: 0; letter-spacing: -0.012em; }
p { margin: 0; }
a { color: inherit; }

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

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--pad-x); }
.measure { max-width: var(--measure); }
.stack > * + * { margin-top: 1rem; }

/* ---------- header ---------- */

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 66px;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__mark { width: 28px; height: 28px; display: block; }
.brand__name { font-weight: 600; letter-spacing: .1em; font-size: 15px; }

.nav { display: flex; align-items: center; gap: 1.6rem; font-size: 14.5px; }
.nav a { color: var(--grey); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-block; padding: .62rem 1.15rem; border-radius: 4px;
  font-size: 14.5px; font-weight: 500; text-decoration: none;
  border: 1px solid transparent; white-space: nowrap;
}
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--red-deep); }
.btn--line { border-color: var(--rule); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }

/* Below 780px the nav becomes a horizontally scrollable rail rather than
   disappearing: on a phone the product families are still the main entry point. */
@media (max-width: 780px) {
  .masthead__inner { flex-wrap: wrap; gap: .75rem 1rem; padding-bottom: .55rem; min-height: 0; padding-top: .7rem; }
  .nav {
    order: 3; width: 100%; gap: 1.1rem; overflow-x: auto; padding-bottom: .35rem;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .btn { padding: .55rem .95rem; font-size: 14px; }
}

/* ---------- hero ---------- */

.hero { padding-block: clamp(3rem, 7vw, 5.5rem) 0; }
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  max-width: 19ch;
}
.hero__sub {
  margin-top: 1.15rem; max-width: 58ch; color: var(--grey);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}
.hero__cta { margin-top: 1.9rem; display: flex; gap: .65rem; flex-wrap: wrap; }

/* capability strip — the page's one loud element */
.caps {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
}
.cap { padding: 1.5rem 1.35rem 1.6rem; border-left: 1px solid var(--rule); }
.cap:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 900px) {
  .cap { border-left: 0; border-top: 1px solid var(--rule); padding: 1.1rem 0 1.2rem; }
  .cap:first-child, .cap:nth-child(2) { border-top: 0; }
  .cap:nth-child(even) { padding-left: 1.35rem; border-left: 1px solid var(--rule); }
}
@media (max-width: 460px) {
  .cap:nth-child(even) { padding-left: 0; border-left: 0; }
  .cap:nth-child(2) { border-top: 1px solid var(--rule); }
}
.cap__n {
  font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 600;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1;
}
.cap__n span { color: var(--red); font-weight: 500; }
.cap__l { margin-top: .55rem; font-size: 13.5px; color: var(--grey); line-height: 1.45; }

/* ---------- generic band ---------- */

.band { padding-block: var(--band); }
.band--steel { background: var(--steel); }
.band__head { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.band__head h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.band__head p { margin-top: .8rem; color: var(--grey); max-width: var(--measure); }

/* ---------- product family grid ---------- */

.families { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 620px) { .families { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .families { grid-template-columns: repeat(4, 1fr); } }

.family {
  background: var(--paper); padding: 1.4rem 1.4rem 1.55rem;
  text-decoration: none; display: flex; flex-direction: column; gap: .4rem;
  transition: background .16s ease;
}
.family:hover { background: var(--steel); }
.family h3 { font-size: 1.02rem; }
.family p { font-size: 13.8px; color: var(--grey); line-height: 1.5; }
.family__go { margin-top: auto; padding-top: .9rem; font-size: 13.5px; color: var(--red); }
.family--wide { grid-column: 1 / -1; }
@media (min-width: 960px) { .family--wide { grid-column: span 2; } }

/* ---------- ordered process (a real sequence) ---------- */

.steps { display: grid; gap: 2rem 2.5rem; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: 13px; color: var(--red);
  font-variant-numeric: tabular-nums; margin-bottom: .6rem;
}
.step h3 { font-size: 1rem; margin-bottom: .45rem; }
.step p { font-size: 14.5px; color: var(--grey); }

/* ---------- inspection figures ---------- */

.rates { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 620px) { .rates { grid-template-columns: repeat(3, 1fr); } }
.rate { background: var(--paper); padding: 1.3rem 1.35rem 1.45rem; }
.rate dt { font-size: 13.5px; color: var(--grey); }
.rate dd {
  margin: .45rem 0 0; font-size: 2rem; font-weight: 600;
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1;
}
.rate dd span { color: var(--red); font-size: 1.25rem; font-weight: 500; }

/* ---------- specification tables ---------- */

.spec { margin-top: 1.9rem; }
.spec > h3 { font-size: 1.02rem; margin-bottom: .7rem; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.spec-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  font-variant-numeric: tabular-nums; min-width: 520px;
}
.spec-table thead th {
  background: var(--ink); color: #fff; font-weight: 500; font-size: 12.5px;
  text-align: left; padding: .58rem .8rem; white-space: nowrap;
}
.spec-table td { padding: .5rem .8rem; border-bottom: 1px solid var(--rule); }
.spec-table tbody tr:nth-child(even) { background: var(--steel); }
.spec-table tbody tr:last-child td { border-bottom: 1px solid var(--ink); }
.spec-table .num { text-align: center; }
.note { margin-top: .9rem; font-size: 13.5px; color: var(--grey); max-width: var(--measure); }

/* ---------- figures ---------- */

.figs { display: grid; gap: 1rem; }
@media (min-width: 640px) { .figs--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .figs--2 { grid-template-columns: repeat(2, 1fr); } }
.fig { margin: 0; }
.fig img {
  width: 100%; height: 190px; object-fit: contain;
  background: var(--steel); display: block; padding: .9rem;
}
.fig--strip img { height: 78px; }
.fig figcaption { margin-top: .55rem; font-size: 12.8px; color: var(--grey); }

/* ---------- catalog call to action ---------- */

.catalog {
  border: 1px solid var(--rule); border-top: 2px solid var(--red);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  display: flex; gap: 1.5rem; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
}
.catalog h2 { font-size: 1.25rem; }
.catalog p { margin-top: .5rem; color: var(--grey); font-size: 14.5px; max-width: 46ch; }

/* ---------- breadcrumb ---------- */

.crumbs { padding-top: 1.6rem; font-size: 13.5px; color: var(--grey-soft); }
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--rule); padding-block: 3rem 2.5rem; margin-top: var(--band); }
.foot__grid { display: grid; gap: 2rem; }
@media (min-width: 780px) { .foot__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot h3 { font-size: 13.5px; font-weight: 600; margin-bottom: .7rem; }
.foot ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.foot li + li { margin-top: .38rem; }
.foot a { color: var(--grey); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot__legal {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--rule);
  font-size: 12.8px; color: var(--grey-soft); line-height: 1.65;
}
.foot__legal strong { color: var(--grey); font-weight: 500; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.cap__n{white-space:nowrap}
.cap__n--fit{font-size:clamp(1.35rem,2.2vw,1.9rem)}

/* chips — dense code / size lists */
.chips { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:.3rem .45rem; }
.chips li {
  font-size:12.8px; font-variant-numeric:tabular-nums; color:var(--ink);
  background:var(--steel); border:1px solid var(--steel-deep);
  padding:.22rem .5rem; border-radius:3px; white-space:nowrap;
}

/* contact */
.contactgrid { display:grid; gap:2rem; margin-bottom:1rem; }
@media (min-width:640px){ .contactgrid{ grid-template-columns:repeat(2,1fr); } }
.contactgrid h3 { font-size:13.5px; color:var(--grey); font-weight:500; margin-bottom:.45rem; }
.big { font-size:clamp(1.05rem,2vw,1.3rem); font-weight:500; }
.big a { color:var(--ink); text-decoration:none; border-bottom:2px solid var(--red); padding-bottom:1px; }
.big a:hover { color:var(--red); }
.spec > h3:empty { display:none; }

/* folded specification blocks ------------------------------------------ */
.fold { border-bottom: 1px solid var(--rule); }
.fold:first-of-type { border-top: 1px solid var(--rule); }
.fold > summary {
  list-style: none; cursor: pointer; padding: .95rem 2rem .95rem 0;
  display: flex; align-items: baseline; gap: 1rem; position: relative;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%;
  width: 8px; height: 8px; margin-top: -5px;
  border-right: 1.6px solid var(--grey-soft); border-bottom: 1.6px solid var(--grey-soft);
  transform: rotate(45deg); transition: transform .16s ease;
}
.fold[open] > summary::after { transform: rotate(225deg); margin-top: -2px; }
.fold > summary:hover .fold__t { color: var(--red); }
.fold__t { font-weight: 600; font-size: 1rem; }
.fold__m {
  font-size: 13.5px; color: var(--grey); margin-left: auto; padding-right: .5rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.fold__b { padding: .2rem 0 1.4rem; }
.fold__b .tablewrap { margin-top: 0; }
@media (max-width: 560px) {
  .fold > summary { flex-wrap: wrap; gap: .15rem .8rem; }
  .fold__m { margin-left: 0; width: 100%; }
}

/* the figure boxes hold every image at the same height regardless of ratio */
.fig img { height: 200px; }
.fig--strip img { height: 92px; padding: .7rem 1.1rem; }
