/* Industrialise — the website.
   From 1024px up the page follows the Home desktop board; below that, the
   phone board. Values are taken from the boards in Website/concept. */

:root {
  --navy: #1b2a41;
  --navy-rule: #2c3d57;
  --navy-line: #47566d;
  --amber: #c8862b;
  --amber-ink: #96601a;
  --ink: #2a2e35;
  --text: #4b5563;
  --muted: #6b7280;
  --faint: #8d9aab;
  --pale: #c3cad6;
  --wash: #f4f5f7;
  --rule: #d6d9de;
  --row: #fafbfc;
  --pass: #1f7a43;
  --fail: #a32626;
  --flag: #fffaf2;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--sans); color: var(--ink); background: #fff; }
main { flex: 1 0 auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { font-weight: inherit; font-size: inherit; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber-ink); }
a:hover { color: #7a4e15; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 20; padding: 10px 16px; background: #fff; color: var(--navy); font-size: 13px; text-decoration: none; }
.skip:focus { top: 12px; }

/* The content column. Section grounds run edge to edge; this is what centres. */
.wrap { width: min(1200px, 100% - 80px); margin-inline: auto; }

.navy { background: var(--navy); color: #fff; }
.wash { background: var(--wash); }
.center { text-align: center; }

/* ── shared type ─────────────────────────────────────────────────────────── */

.eyebrow { padding-bottom: 32px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber-ink); }
.navy .eyebrow { color: var(--amber); }
.display { font-size: 58px; line-height: 66px; font-weight: 300; letter-spacing: -0.022em; color: var(--navy); }
.navy .display { color: #fff; }
.intro { max-width: 820px; margin: 0 auto; text-align: center; }
.lede { font-size: 13px; line-height: 27px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footnote { margin: 0 auto; text-align: center; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }

.button { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; background: var(--amber); color: var(--navy); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.button:hover { color: var(--navy); filter: brightness(1.07); }

/* ── nav ─────────────────────────────────────────────────────────────────── */

.nav { position: relative; z-index: 10; background: var(--navy); }
.nav-bar { height: 80px; display: flex; align-items: center; gap: 44px; }
.wordmark { color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.wordmark:hover { color: #fff; }
.wordmark span { color: var(--amber); }
.nav-links { flex-grow: 1; display: flex; align-items: center; justify-content: center; gap: 36px; }
.nav-links a { color: var(--pale); text-decoration: none; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: inline-flex; align-items: center; height: 40px; padding: 0 22px; border: 1px solid var(--navy-line); color: #fff; text-decoration: none; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-cta:hover { color: #fff; border-color: var(--pale); }
.menu-toggle, .menu { display: none; }

/* ── hero ────────────────────────────────────────────────────────────────── */

.hero { padding: 116px 0 128px; }
.hero-row { display: flex; align-items: flex-end; gap: 80px; padding-bottom: 68px; container-type: inline-size; }
/* 84px at the full 1200px column; smaller on a narrower laptop so the three
   lines keep their breaks beside the 380px side column. */
.hero h1 { flex: 1 1 auto; min-width: 0; font-size: clamp(56px, (100cqi - 460px) * 0.117, 84px); line-height: 1.0715; font-weight: 300; letter-spacing: -0.025em; color: #fff; }
.hero-side { width: 380px; flex-shrink: 0; padding-bottom: 10px; }
.hero-statement { font-size: 30px; line-height: 40px; font-weight: 300; color: #fff; }
.hero-caps { padding-top: 26px; font-size: 12px; line-height: 24px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.hero-side .button { margin-top: 28px; }

.hero-product { display: flex; align-items: stretch; padding-top: 56px; border-top: 1px solid var(--navy-rule); }
.drawing { flex: 0 1 700px; min-width: 0; }
.label { padding-bottom: 22px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.hero-arrow { width: 84px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.extract { flex: 1 1 416px; min-width: 0; display: flex; flex-direction: column; }

.sheet { flex-grow: 1; background: #fff; border-radius: 3px; overflow: hidden; }
.sheet-head, .sheet-row { display: flex; gap: 14px; padding-inline: 16px; }
.sheet-head { padding-block: 11px; background: var(--wash); font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sheet-row { padding-block: 12px; align-items: center; font-size: 12px; color: var(--ink); }
.sheet-row.alt { background: var(--row); }
.sheet .c-ref { width: 22px; flex-shrink: 0; }
.sheet .c-char { flex-grow: 1; min-width: 0; }
.sheet .c-req { width: 92px; flex-shrink: 0; text-align: right; }
.sheet-row .c-ref { font-family: var(--mono); color: var(--amber-ink); }
.sheet-row .c-req { font-family: var(--mono); font-size: 11px; color: var(--text); }
.sheet-more { padding: 14px 16px; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

/* The product still that stands in for the drawing on a phone. */
.phone-product { padding: 22px 0; }
.app-still { background: var(--wash); border-radius: 3px; overflow: hidden; }
.app-still-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; }
.app-still-head .part { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.app-still-head .rev { margin-left: auto; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-ink); }
.app-still-body { padding: 14px; }
.app-table { background: #fff; border-radius: 3px; overflow: hidden; }
.app-table-head, .app-table-row { display: flex; gap: 10px; padding-inline: 12px; }
.app-table-head { padding-block: 9px; background: var(--navy); font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.app-table-row { padding-block: 11px; align-items: center; font-size: 12px; color: var(--ink); }
.app-table-row.alt { background: var(--row); }
.app-table .c-ref { width: 20px; flex-shrink: 0; }
.app-table .c-char { flex-grow: 1; min-width: 0; }
.app-table .c-req { width: 92px; flex-shrink: 0; text-align: right; }
.app-table-row .c-ref { font-family: var(--mono); color: var(--muted); }
.app-table-row .c-req { font-family: var(--mono); font-size: 11px; color: var(--text); }

/* ── the problem ─────────────────────────────────────────────────────────── */

.problem { padding: 150px 0 130px; text-align: center; }
.problem .eyebrow { padding-bottom: 34px; }
.problem-statement { max-width: 860px; margin: 0 auto; font-size: 26px; line-height: 44px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.chips { max-width: 940px; margin: 84px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { padding: 9px 16px; background: var(--wash); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.problem .footnote { max-width: 860px; margin-top: 30px; font-size: 12px; }

/* ── the answer ──────────────────────────────────────────────────────────── */

.answer { padding: 140px 0 132px; }
.answer .intro { max-width: 880px; }
.answer .eyebrow { padding-bottom: 34px; }
.answer .display { margin-bottom: 34px; font-size: 62px; line-height: 70px; }
.answer .lede { font-size: 15px; line-height: 30px; letter-spacing: 0.06em; color: var(--text); }
.trio { display: flex; justify-content: center; padding-top: 96px; }
.trio-item { flex: 0 1 380px; padding: 0 34px; text-align: center; }
.trio-item + .trio-item { border-left: 1px solid var(--rule); }
.trio h3 { font-size: 28px; font-weight: 300; color: var(--navy); }
.trio p { padding-top: 16px; font-size: 12px; line-height: 24px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ── the numbers ─────────────────────────────────────────────────────────── */

.numbers { padding: 130px 0 124px; }
.numbers .intro { margin-bottom: 84px; }
.stats { display: flex; justify-content: center; text-align: center; }
.stats li { flex: 0 1 300px; }
.stat-n { display: block; font-size: 72px; line-height: 78px; font-weight: 300; color: #fff; }
.stats li:last-child .stat-n { color: var(--amber); }
.stat-l { display: block; padding-top: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.numbers .footnote { max-width: 760px; margin-top: 76px; font-size: 12px; line-height: 26px; letter-spacing: 0.08em; color: var(--pale); }

/* ── what you get ────────────────────────────────────────────────────────── */

.what { padding: 146px 0 134px; }
.what .intro { margin-bottom: 86px; }
.what .display { margin-bottom: 30px; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 54px; column-gap: 40px; }
.features h3 { font-size: 19px; font-weight: 400; color: var(--navy); }
.features .accent h3 { color: var(--amber-ink); }
.features p { padding-top: 9px; font-size: 11px; line-height: 21px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }

/* ── on the floor ────────────────────────────────────────────────────────── */

.floor { padding: 140px 0 132px; }
.floor .intro { margin-bottom: 76px; }
.floor .display { margin-bottom: 30px; }
.station { max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 3px; overflow: hidden; }
.station-bar { display: flex; align-items: center; gap: 20px; padding: 14px 22px; background: var(--navy); }
.station-bar .op { font-family: var(--mono); font-size: 12px; color: #fff; }
.station-bar .machine { font-size: 12px; color: var(--faint); }
.station-bar .cal { margin-left: auto; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.station-head, .station-row { display: flex; padding-inline: 22px; }
.station-head { padding-block: 12px; background: var(--row); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.station-row { padding-block: 15px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--text); }
.station-row.flagged { background: var(--flag); }
.station .c-ref { width: 44px; flex-shrink: 0; }
.station .c-char { flex-grow: 1; min-width: 0; }
.station .c-num { width: 90px; flex-shrink: 0; text-align: right; }
.station .c-read { width: 100px; flex-shrink: 0; text-align: right; }
.station .c-verdict { width: 78px; flex-shrink: 0; text-align: right; }
.station-row .c-char { font-family: var(--sans); font-size: 13px; color: var(--ink); }
.station-row .c-read { color: var(--ink); }
.station-row .c-verdict { font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.station-row .pass { color: var(--pass); }
.station-row .fail { color: var(--fail); }
.station-row .owed { color: var(--faint); }
.floor .footnote { max-width: 820px; margin-top: 34px; font-size: 11px; line-height: 24px; }

/* ── the method ──────────────────────────────────────────────────────────── */

.method { padding: 146px 0 138px; }
.method .intro { margin-bottom: 88px; }
.pair { display: flex; justify-content: center; }
.pair-item { flex: 0 1 480px; padding: 0 46px; text-align: center; }
.pair-item + .pair-item { border-left: 1px solid var(--rule); }
.acronym { font-family: var(--mono); font-size: 30px; letter-spacing: 0.04em; color: var(--navy); }
.expansion { padding-top: 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-ink); }
.pair-item .lede { padding-top: 24px; font-size: 12px; line-height: 25px; letter-spacing: 0.07em; }
.trust { max-width: 900px; margin: 90px auto 0; display: flex; justify-content: center; text-align: center; }
.trust li { flex-grow: 1; font-size: 11px; line-height: 20px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }

/* ── book a demo ─────────────────────────────────────────────────────────── */

.cta { padding: 140px 0 136px; text-align: center; }
.cta .display { margin-bottom: 30px; line-height: 68px; }
.cta .lede { max-width: 700px; margin: 0 auto 46px; font-size: 12px; line-height: 26px; letter-spacing: 0.09em; color: var(--pale); }
.demo-form { max-width: 660px; margin: 0 auto; display: flex; gap: 10px; }
.demo-form input { flex: 1 1 0; min-width: 0; height: 52px; padding: 0 16px; background: transparent; border: 1px solid var(--navy-line); border-radius: 2px; font: 13px var(--sans); color: #fff; }
.demo-form input::placeholder { color: var(--faint); opacity: 1; }
.demo-form input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 100px var(--navy) inset; caret-color: #fff; }
.demo-form button { flex-shrink: 0; height: 52px; padding: 0 30px; background: var(--amber); color: var(--navy); border: 0; border-radius: 2px; font: 600 12px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.demo-form button:hover { filter: brightness(1.07); }
.honeypot { display: none; }
.form-note { margin-top: 22px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.form-note a { color: var(--pale); }
.form-note a:hover { color: #fff; }

/* ── footer ──────────────────────────────────────────────────────────────── */

.footer { padding: 56px 0; background: #fff; }
.footer-bar { display: flex; align-items: center; gap: 36px; }
.footer .wordmark, .footer .wordmark:hover { color: var(--navy); font-size: 14px; }
.footer-links { margin-left: auto; display: flex; gap: 36px; }
.footer-links a { color: var(--faint); text-decoration: none; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-links a:hover { color: var(--navy); }

/* ── the other pages: thanks, not found, privacy ─────────────────────────── */

.page-head { padding: 116px 0 110px; }
.page-head .display { font-size: 62px; line-height: 70px; }
.page-head .lede { margin-top: 30px; color: var(--pale); }
.page-head .button { margin-top: 44px; }
.prose { padding: 88px 0 110px; }
.prose-body { max-width: 680px; }
.prose h2 { margin-top: 44px; font-size: 22px; line-height: 30px; font-weight: 400; color: var(--navy); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; font-size: 16px; line-height: 27px; color: var(--text); }
.prose .updated { margin-top: 56px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ── which board applies ─────────────────────────────────────────────────── */

@media (min-width: 1024px) {
  .narrow-only { display: none !important; }
}

@media (max-width: 1023.98px) {
  .wide-only { display: none !important; }

  /* The phone board's 22px margins; on a tablet the column stops at 600px. */
  .wrap { width: min(100% - 44px, 600px); }

  .eyebrow { padding-bottom: 26px; font-size: 10px; }
  .display { font-size: 38px; line-height: 45px; }

  /* nav, with the menu behind a button */
  .nav-bar { height: 64px; gap: 12px; }
  .nav .wordmark { flex-grow: 1; font-size: 13px; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: transparent; border: 0; color: #fff; cursor: pointer; }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }
  .menu:not([hidden]) { display: block; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); border-top: 1px solid var(--navy-rule); border-bottom: 1px solid var(--navy-rule); box-shadow: 0 6px 20px rgba(16, 24, 40, 0.13); }
  .menu a:not(.button) { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--navy-rule); color: var(--pale); text-decoration: none; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
  .menu a:not(.button):hover { color: #fff; }
  .menu .button { display: flex; width: 100%; height: 52px; margin: 22px 0; font-size: 11px; letter-spacing: 0.14em; }

  .hero { padding: 62px 0 56px; }
  .hero-row { display: block; padding-bottom: 0; }
  .hero .eyebrow { padding-bottom: 28px; letter-spacing: 0.18em; }
  /* 40px on the 390px board; smaller on a narrower phone so the slogan keeps its three lines. */
  .hero h1 { margin-bottom: 26px; font-size: clamp(30px, (100vw - 44px) * 0.117, 40px); line-height: 1.15; }
  .hero-side { width: auto; padding-bottom: 0; }
  .hero-statement { padding-bottom: 22px; font-size: 21px; line-height: 31px; }
  .hero-caps { padding: 0 0 32px; font-size: 11px; line-height: 23px; }
  .hero-side .button { display: flex; width: 100%; height: 52px; margin-top: 0; font-size: 11px; letter-spacing: 0.14em; }

  .problem { padding: 76px 0 68px; }
  .problem .eyebrow { padding-bottom: 26px; }
  .problem-statement { font-size: 17px; line-height: 31px; }
  .chips { margin-top: 42px; gap: 7px; }
  .chips li { padding: 7px 12px; font-size: 10px; }
  .problem .footnote { margin-top: 26px; font-size: 10px; line-height: 20px; }

  .answer { padding: 72px 0 68px; }
  .answer .eyebrow { padding-bottom: 26px; }
  .answer .display { margin-bottom: 26px; font-size: 38px; line-height: 45px; }
  .answer .lede { font-size: 12px; line-height: 25px; }
  .trio { display: block; padding-top: 46px; }
  .trio-item { padding: 30px 0; }
  .trio-item:first-child { padding-top: 0; }
  .trio-item:last-child { padding-bottom: 0; }
  .trio-item + .trio-item { border-left: 0; border-top: 1px solid var(--rule); }
  .trio h3 { font-size: 22px; }
  .trio p { padding-top: 11px; font-size: 10px; line-height: 21px; }

  .numbers { padding: 72px 0 66px; }
  .numbers .eyebrow { padding-bottom: 24px; }
  .numbers .intro { margin-bottom: 46px; }
  .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 38px; }
  .stat-n { font-size: 50px; line-height: 56px; }
  .stat-l { padding-top: 7px; font-size: 9px; }
  .numbers .footnote { margin-top: 44px; font-size: 10px; line-height: 21px; }

  .what { padding: 76px 0 70px; }
  .what .intro { margin-bottom: 44px; }
  .what .display { margin-bottom: 22px; }
  .what .lede { font-size: 11px; line-height: 23px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; column-gap: 20px; }
  .features h3 { font-size: 15px; }
  .features p { padding-top: 6px; font-size: 9px; line-height: 17px; }

  /* With "On the floor" gone, the method takes the wash so the grounds still alternate. */
  .method { padding: 72px 0 68px; background: var(--wash); }
  .method .intro { margin-bottom: 44px; }
  .pair { display: block; }
  .pair-item { padding: 0 0 30px; }
  .pair-item + .pair-item { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .acronym { font-size: 25px; }
  .expansion { padding-top: 9px; font-size: 9px; }
  .pair-item .lede { padding-top: 16px; font-size: 10px; line-height: 22px; }

  .cta { padding: 76px 0 72px; }
  .cta .display { margin-bottom: 22px; font-size: 36px; line-height: 44px; }
  .cta .lede { margin-bottom: 34px; font-size: 10px; line-height: 22px; }
  .demo-form { display: block; }
  .demo-form input { display: block; width: 100%; margin-bottom: 10px; text-align: center; }
  .demo-form button { width: 100%; font-size: 11px; letter-spacing: 0.14em; }

  .footer { padding: 40px 0 44px; }
  .footer-bar { flex-direction: column; gap: 18px; }
  .footer .wordmark, .footer .wordmark:hover { font-size: 13px; }
  .footer-links { margin-left: 0; }
  .footer-links a { display: inline-block; padding: 8px 0; font-size: 10px; }

  .page-head { padding: 72px 0 68px; }
  .page-head .display { font-size: 38px; line-height: 45px; }
  .page-head .lede { margin-top: 22px; font-size: 11px; line-height: 23px; }
  .page-head .button { display: flex; height: 52px; margin-top: 34px; }
  .prose { padding: 56px 0 72px; }
  .prose h2 { margin-top: 36px; font-size: 20px; line-height: 28px; }
  .prose p { font-size: 15px; line-height: 25px; }
}
