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

:root {
  --ink: #16222E;
  --body: #3A4550;
  --steel: #66717C;
  --accent: #E1580E;
  --accent-dark: #bf4b0c;
  --accent-ink: #8c3709;
  --accent-soft: #fceee7;
  --bg: #FBFAF8;
  --surface: #F3F1ED;
  --card: #FFFFFF;
  --line: #E6E2DC;
  --r: 16px;
  --r-s: 10px;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}
@media (min-width: 760px) { body { font-size: 18px; } }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

.masthead { background: var(--bg); }
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.wordmark::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  display: inline-block;
}
.wordmark.with-logo::before { display: none; }
.wordmark img { display: block; max-height: 40px; width: auto; }

.langs { display: flex; align-items: center; flex-wrap: wrap; }
.langs a, .langs span { font-size: 14px; color: var(--steel); text-decoration: none; margin-left: 14px; }
.langs [aria-current="true"] { color: var(--ink); font-weight: 600; }

section { padding: 48px 0; }
@media (min-width: 760px) { section { padding: 64px 0; } }
section.alt { background: var(--surface); }
section.hero { padding-top: 32px; }
@media (min-width: 760px) { section.hero { padding-top: 48px; } }
section.back { padding: 28px 0 48px; }

h1 {
  font-size: 36px;
  line-height: 1.12;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 20px;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
@media (min-width: 760px) { h1 { font-size: 44px; } }

h2 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
  max-width: 26ch;
}
@media (min-width: 760px) { h2 { font-size: 27px; } }

.eyebrow { font-size: 14px; color: var(--steel); margin: 0 0 10px; }

/* A label that must stay on one line, used for a model code like MP-100M,
   where a browser would otherwise be free to break after the hyphen. */
.nb { white-space: nowrap; }

p { margin: 0 0 16px; max-width: 66ch; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }

.lead { font-size: 19px; color: var(--steel); margin: 0 0 32px; max-width: 54ch; }
@media (min-width: 760px) { .lead { font-size: 21px; } }

.sub { color: var(--steel); font-size: 15px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.cta {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--r-s);
  background: var(--accent);
  color: #FFFFFF;
  cursor: pointer;
}
.cta:hover { background: var(--accent-dark); color: #FFFFFF; }

.finder { max-width: 560px; margin: 0 0 8px; }
.finder label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.finder input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--card);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 18px;
}
.finder .cta { margin-top: 14px; }

.notice {
  background: var(--accent-soft);
  border-radius: var(--r-s);
  padding: 14px 18px;
  margin: 0 0 28px;
  max-width: 560px;
  color: var(--accent-ink);
}
.notice p { margin: 0; max-width: none; }
.notice p + p { margin-top: 6px; color: var(--steel); font-size: 15px; }

.hero-top { display: grid; gap: 28px; align-items: start; }
@media (min-width: 880px) { .hero-top { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; } }
.hero-art { max-width: 480px; }
.hero-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}
.hero-frame .mach-art { display: block; width: 100%; height: auto; color: var(--steel); }
.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
}

.blocks { display: grid; gap: 20px; }
@media (min-width: 880px) { .blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.block {
  background: var(--card);
  border-radius: var(--r);
  padding: 22px 24px;
}
.block h2 { font-size: 19px; margin: 0 0 10px; max-width: none; }
@media (min-width: 760px) { .block h2 { font-size: 20px; } }
.block p { font-size: 16px; margin: 0 0 12px; max-width: none; }
.block p:last-child { margin-bottom: 0; }
.block-mail { font-family: var(--mono); font-size: 15px; word-break: break-word; }
.plate-shot {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
}

.mach-head { padding-top: 32px; padding-bottom: 32px; }
.mach-head h1 { font-size: 36px; margin-bottom: 20px; }
.mach-top { display: grid; gap: 24px; align-items: start; }
@media (min-width: 820px) { .mach-top { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; } }
.mach-frame {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
}
.mach-art { display: block; width: 100%; height: auto; color: var(--steel); }
.mach-photo {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
}
.mach-meta { display: grid; gap: 14px 32px; margin: 0; }
@media (min-width: 700px) { .mach-meta { grid-template-columns: repeat(2, max-content); } }
.mach-meta dt { font-size: 13px; color: var(--steel); margin-bottom: 2px; }
.mach-meta dd { margin: 0; font-family: var(--mono); font-size: 16px; color: var(--ink); }

.enq { background: var(--card); border-radius: var(--r); padding: 22px 24px; max-width: 560px; }
.enq dl { margin: 0 0 18px; }
.enq dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 5px 0; align-items: baseline; }
.enq dt { font-size: 13px; color: var(--steel); }
.enq dd { margin: 0; font-family: var(--mono); font-size: 15px; color: var(--ink); }
.enq p { margin: 0; max-width: none; }
/* Written as .enq .enq-note so it outweighs the ".enq p { margin: 0 }" above. */
.enq .enq-note { font-size: 13px; color: var(--steel); margin: 10px 0 0; }

h2 + .sub { margin-top: -8px; }
.notice a { color: var(--accent-ink); }

.doc-primary {
  display: block;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  padding: 22px 24px;
  text-decoration: none;
  max-width: 560px;
  margin: 22px 0 26px;
}
.doc-primary:hover { background: var(--accent-soft); color: var(--ink); }
.doc-primary .doc-lang { display: block; font-size: 22px; margin-bottom: 4px; }
.doc-other { font-size: 13px; color: var(--steel); margin: 0; }

.docs { list-style: none; padding: 0; margin: 22px 0 18px; max-width: 560px; display: grid; gap: 8px; }
.docs li { margin: 0; }
.docs a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 15px 18px;
  text-decoration: none;
}
.docs a:hover { border-color: var(--ink); color: var(--ink); }
.doc-lang { font-size: 18px; font-weight: 600; color: var(--ink); }
.doc-meta { font-family: var(--mono); font-size: 13px; color: var(--steel); }
.docs.old a { background: var(--surface); border-color: transparent; }
.docs.old .doc-lang { font-weight: 400; color: var(--steel); }

.foot { background: var(--surface); color: var(--steel); padding: 48px 0 56px; font-size: 15px; }
.foot a { color: var(--ink); }
.foot p { margin: 0; max-width: none; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
/* Pushed to the right edge, so our line sits opposite the customer's address
   and stays on the right even when the customer has no address. */
.foot-ifudocs { margin-left: auto; font-size: 13px; }
.foot-ifudocs a { color: var(--steel); }

@media (max-width: 699px) {
  section { padding: 36px 0; }
  section.hero { padding-top: 20px; }
  .mach-head { padding-top: 20px; padding-bottom: 8px; }
  .mach-head h1 { font-size: 30px; margin-bottom: 14px; }
  .mach-head + section { padding-top: 28px; }
  .mach-frame { display: none; }
  .mach-meta { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .mach-meta dd { font-size: 14px; }
  /* Both pictures run the full width of the screen on a phone, with their
     height following the shape of the picture, so nothing is cropped and
     neither of them ends up a narrow strip stuck to the left edge. The hero
     falls below the search form and the machine picture below the machine
     details, which is where the single column puts them. The drawing above
     is decorative and stays hidden. */
  .foot-ifudocs { margin-left: 0; }
}
