/* "Will it work on my machine?" checker, homepage fit teaser, comparison table, AI trust block.
   Ideas from the Nov 2026 competitor review: answer "does it fit my machines" up front, compare honestly,
   and show why the AI can be trusted. Uses the site tokens from style.css. */

/* ---------- shared ---------- */
.mc-k { display: inline-flex; align-items: center; gap: 8px; font: 700 12px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.mc-k::before { content: ""; width: 18px; height: 2px; background: currentColor; }

/* ---------- checker page ---------- */
.mc-hero { padding: 150px 0 40px; background: linear-gradient(180deg, var(--alt), #fff); }
.mc-hero h1 { margin: 14px 0 0; max-width: 900px; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.mc-hero h1 em { font-style: normal; color: var(--orange); }
.mc-hero p { max-width: 680px; margin-top: 18px; font-size: 19px; color: var(--mute); }
.mc-tool { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; padding: 30px 0 90px; }
.mc-q { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 24px 50px -36px rgba(18,33,47,.45); }
.mc-step + .mc-step { margin-top: 26px; padding-top: 24px; border-top: 1px dashed var(--line); }
.mc-step legend { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; padding: 0; font-size: 18px; font-weight: 750; color: var(--ink); }
.mc-step legend b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; flex: none; transform: translateY(4px); }
.mc-step legend small { font-size: 13.5px; font-weight: 500; color: var(--mute); }
.mc-step fieldset, fieldset.mc-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.mc-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-opts label { position: relative; cursor: pointer; }
.mc-opts input { position: absolute; opacity: 0; pointer-events: none; }
.mc-opts span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 600 15px Inter, sans-serif; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.mc-opts label:hover span { border-color: #f9b26f; }
.mc-opts input:checked + span { border-color: var(--orange); background: #fff4e8; box-shadow: 0 0 0 3px rgba(247,134,30,.15); }
.mc-opts input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.mc-opts small { font-weight: 500; color: var(--mute); font-size: 12.5px; }

.mc-res { position: sticky; top: 110px; padding: 26px; border-radius: 22px; background: var(--navy); color: #e8eef5; min-height: 380px; box-shadow: 0 30px 60px -34px rgba(11,32,54,.8); overflow: hidden; }
.mc-res::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.mc-res > * { position: relative; }
.mc-wait { display: grid; place-items: center; min-height: 330px; text-align: center; color: #9fb1c4; font-size: 16px; }
.mc-wait b { display: block; margin-bottom: 6px; color: #fff; font-size: 20px; }
.mc-verdict { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: 99px; font: 700 13px Inter, sans-serif; }
.mc-verdict::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.mc-verdict.yes { background: rgba(34,178,107,.16); color: #3fd28a; }
.mc-verdict.likely { background: rgba(247,134,30,.16); color: #ffb066; }
.mc-res h2 { margin: 14px 0 6px; font-size: 28px; line-height: 1.15; color: #fff; max-width: none; }
.mc-res p { margin: 0; color: #b9c7d6; font-size: 15.5px; }
.mc-path { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; margin: 22px 0; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); text-align: center; font-size: 12.5px; color: #cfd9e4; }
.mc-path i { font-style: normal; display: block; font-size: 22px; margin-bottom: 2px; }
.mc-path em { width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 10px); background-size: 20px 2px; animation: mcFlow .8s linear infinite; }
@keyframes mcFlow { to { background-position: 20px 0; } }
.mc-how { margin: 0 0 6px; font: 700 11.5px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #ffb066; }
.mc-see { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.mc-see li { padding-left: 24px; position: relative; font-size: 15px; color: #e8eef5; }
.mc-see li::before { content: "✓"; position: absolute; left: 0; color: #3fd28a; font-weight: 800; }
.mc-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.mc-cta .btn-line { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.mc-add { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.mc-add button { border: 0; background: none; color: #ffb066; font: 650 14.5px Inter, sans-serif; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.mc-list { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mc-list li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 11px; border-radius: 99px; background: rgba(255,255,255,.08); font-size: 13px; }
.mc-list li button { border: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; line-height: 1; }
.mc-res .mc-in { animation: mcIn .35s ease-out; }
@keyframes mcIn { from { opacity: 0; transform: translateY(8px); } }

.mc-ways { padding: 80px 0; background: var(--alt); }
.mc-ways h2 { max-width: 760px; }
.mc-tbl { width: 100%; margin-top: 34px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 15.5px; }
.mc-tbl th, .mc-tbl td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.mc-tbl thead th { background: var(--navy); color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.mc-tbl tbody th { width: 26%; font-weight: 700; }
.mc-tbl tr:last-child > * { border-bottom: 0; }
.mc-tbl td:last-child { color: var(--mute); }
.mc-faq { padding: 80px 0 100px; }
.mc-faq details { max-width: 860px; border-bottom: 1px solid var(--line); }
.mc-faq summary { padding: 20px 0; font-size: 18px; font-weight: 700; cursor: pointer; }
.mc-faq details p { padding-bottom: 20px; color: var(--mute); font-size: 16.5px; }

/* ---------- homepage: fit teaser + comparison ---------- */
.hfit { padding: 96px 0; background: #fff; }
.hfit-in { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.hfit h2 { margin-top: 12px; }
.hfit-in > div > p { margin-top: 16px; color: var(--mute); font-size: 18px; max-width: 540px; }
.hfit-card { padding: 24px; border-radius: 22px; background: var(--navy); color: #e8eef5; box-shadow: 0 30px 60px -34px rgba(11,32,54,.8); }
.hfit-card p.q { margin: 0 0 12px; font-weight: 700; color: #fff; }
.hfit-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hfit-chips button { padding: 9px 15px; border-radius: 11px; border: 1.5px solid rgba(255,255,255,.18); background: transparent; color: #fff; font: 600 14.5px Inter, sans-serif; cursor: pointer; transition: border-color .15s, background .15s; }
.hfit-chips button[aria-pressed="true"] { border-color: var(--orange); background: rgba(247,134,30,.15); }
.hfit-card .hfit-ans { color: #e8eef5; }
.hfit-ans { min-height: 96px; margin: 16px 0 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.06); font-size: 15.5px; line-height: 1.55; }
.hfit-ans b { color: #3fd28a; }
.hfit-card a { color: #ffb066; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.hfit-offer { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; padding: 0; list-style: none; }
.hfit-offer li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.hfit-offer li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e9f8f0; color: #138a50; font-size: 12px; font-weight: 800; }
.hfit .btn { margin-top: 26px; }

.cmp { padding: 96px 0; background: var(--alt); }
.cmp-scroll { margin-top: 36px; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.cmp table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); background: #fbfaf7; }
.cmp thead th.us { background: var(--orange); color: #fff; }
.cmp tbody th { font-weight: 700; width: 22%; }
.cmp td { color: var(--mute); }
.cmp td.us { background: #fff6ec; color: var(--ink); font-weight: 600; border-left: 2px solid var(--orange); border-right: 2px solid var(--orange); }
.cmp tr:last-child td.us { border-bottom: 2px solid var(--orange); }
.cmp-note { margin-top: 14px; font-size: 13.5px; color: var(--mute); }

/* ---------- AI page: trust block ---------- */
.ait { padding: 96px 0; background: var(--navy); color: #e8eef5; }
.ait h2 { color: #fff; max-width: 760px; }
.ait-lead { margin-top: 16px; max-width: 640px; font-size: 18px; color: #b9c7d6; }
.ait-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; padding: 0; list-style: none; }
.ait-grid li { padding: 24px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.ait-grid b { display: block; margin: 12px 0 8px; font-size: 18px; color: #fff; }
.ait-grid p { margin: 0; font-size: 15px; color: #b9c7d6; }
.ait-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(247,134,30,.16); color: #ffb066; }
.ait-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1000px) {
  .mc-tool, .hfit-in { grid-template-columns: 1fr; }
  .mc-res { position: relative; top: 0; }
  .ait-grid { grid-template-columns: 1fr 1fr; }
  .mc-tbl thead { display: none; } .mc-tbl tr { display: grid; } .mc-tbl tbody th { width: auto; padding-bottom: 4px; border: 0; } .mc-tbl td { padding-top: 4px; }
}
@media (max-width: 600px) { .ait-grid { grid-template-columns: 1fr; } .mc-hero { padding-top: 120px; } }
@media (prefers-reduced-motion: reduce) { .mc-path em { animation: none; } .mc-res .mc-in { animation: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* homepage: H3s that wrap the old bold labels keep the old look */
.iot-3 h3, .hpdf-h3 { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; }
/* homepage: How much does machine downtime cost? */
.dtc { padding: 96px 0; background: #fff; }
.dtc-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dtc h2 { margin-top: 12px; }
.dtc-in > div > p { margin-top: 16px; max-width: 580px; font-size: 17.5px; line-height: 1.65; color: var(--mute); }
.dtc .btn { margin-top: 24px; }
.dtc .dtc-note { margin-top: 10px; font-size: 14px; }
.dtc-sum { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; padding: 28px; border-radius: 22px; background: var(--alt); border: 1px solid var(--line); }
.dtc-sum > div { text-align: center; }
.dtc-sum b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.dtc-sum span { font-size: 13.5px; color: var(--mute); }
.dtc-sum > i { font-style: normal; font-size: 24px; font-weight: 700; color: var(--orange); }
.dtc-sum .dtc-r { grid-column: 1 / -1; margin-top: 8px; padding-top: 18px; border-top: 1px dashed #e3c9a8; }
.dtc-sum .dtc-r b { color: var(--orange); font-size: clamp(40px, 4.5vw, 56px); }
@media (max-width: 900px) { .dtc-in { grid-template-columns: 1fr; gap: 32px; } }
.ws-erp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.ws-erp p { margin: 0; font-size: 16.5px; color: var(--mute); }
