@charset "utf-8";

/* SI30 business systems: the job check (#job-check) and the retyping sum (#retype-sum). Hormozi pass 2, 6 Nov 2026.
   Loaded after si30.css, systems.css, work.css and home-rd.css on /business-systems/ only. The look copies the
   device check on /hardware/ (assets/v4/home.css, "the check"): square options, a thin progress bar, a graphite
   readout on the alloy band. The reading's path copies the home page's no-API signal path: square nodes in a
   row. No rings anywhere. Square corners, Archivo only, amber on graphite. */

/* the author display rules below beat the browser's [hidden] rule, so restate it */
.jc-nowrap { white-space: nowrap; }   /* the hero button: "1-minute" stays on one line */
.wk-btn span.jc-nowrap,
.wk-btn:hover span.jc-nowrap { display: inline; transform: none; transition: none; }   /* not the arrow: it doesn't slide */

.jc [hidden],
.rs [hidden] { display: none !important; }

/* ── the job check ─────────────────────────────────────────────────── */

.jc-nojs { margin-top: 32px; font-size: 18px; }

.jc-app { margin-top: 56px; max-width: 980px; }

.jc-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

/* the bars shrink to fit, so "Question 1 of 6" is never pushed off a 320px screen */
.jc-progress {
  display: flex;
  gap: 6px;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jc-progress li {
  flex: 0 1 36px;
  width: 36px;
  min-width: 10px;
  height: 4px;
  background: var(--hair);
  transition: background-color 240ms ease-out;
}

.jc-progress li.is-done { background: var(--ink); }
.jc-progress li.is-now:not(.is-done) { background: rgba(14, 18, 21, 0.4); }

.jc-count {
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.jc-steps { display: grid; overflow: clip; padding: 4px; margin: -4px; }   /* the padding keeps focus rings inside the clip */

.jc-q {
  grid-area: 1 / 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.jc-q__q {
  display: block;
  padding: 0;
  margin-bottom: 28px;
  max-width: 26ch;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 88, "wght" 700;
}

.jc-hint {
  margin: -12px 0 24px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

.jc-opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.jc-opt {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 14px 20px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--hair);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out, box-shadow 180ms ease-out;
}

.jc-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.jc-opt > span { display: flex; align-items: center; }   /* a wrapped label lines up after its marker */

.jc-opt > span::before {
  content: "";
  flex: none;
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 14px;
  box-shadow: inset 0 0 0 1.5px currentColor;
  transition: background-color 180ms ease-out, box-shadow 180ms ease-out;
}

.jc-opt input:checked + span::before { background: var(--amber-deep); box-shadow: none; }   /* without :has() */
.jc-opt:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.jc-opt:has(input:checked) { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.jc-opt:has(input:checked) > span::before { background: var(--amber); }
.jc-opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Q3: one row per step, four places each */
.jc-grid { display: grid; gap: 8px; }

.jc-row {
  display: grid;
  grid-template-columns: 210px repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.jc-row > legend {
  float: left;   /* a floated legend lays out as a grid item */
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  font-variation-settings: "wdth" 92, "wght" 700;
}

.jc-opt--seg { padding: 12px 14px; font-size: 16px; }

.jc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
}

.jc-back,
.jc-textbtn {
  min-height: 48px;
  padding: 12px 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.jc-nav .btn { margin-left: auto; min-width: 180px; }

.jc .btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── the reading: a graphite panel on the alloy band ───────────────── */

.jc-result { margin-top: 56px; }

.jc-readout {
  background: var(--graphite);
  color: var(--paper);
  --muted: rgba(244, 246, 247, 0.70);
  --hair: rgba(244, 246, 247, 0.14);
  --focus: var(--amber);
  --accent: var(--amber);
  padding: clamp(24px, 4.5vw, 72px);
}

.jc-readout .link { color: var(--paper); }

.jc-readout__n {
  font-size: clamp(44px, 7vw, 112px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 80, "wght" 760;
  font-variant-numeric: tabular-nums;
  text-wrap: balance;
}

.jc-readout__n:focus:not(:focus-visible) { outline: none; }

/* the path: five square nodes, a red tick on each handoff by hand, the stuck link in amber */
.jc-path {
  --node: 44px;
  --gap: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 var(--gap);
  margin-top: clamp(40px, 5vw, 64px);
}

.jc-step {
  position: relative;
  min-width: 0;
  padding-top: calc(var(--node) + 18px);
}

.jc-node {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--node);
  height: var(--node);
  display: grid;
  place-items: center;
  background: var(--graphite);
  border: 1px solid rgba(244, 246, 247, 0.32);
  font-size: 15px;
  font-weight: 700;
  font-variation-settings: "wdth" 80, "wght" 700;
}

.jc-step__name {
  display: block;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  font-variation-settings: "wdth" 96, "wght" 700;
}

.jc-step__place {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.jc-link {
  position: absolute;
  top: calc(var(--node) / 2);
  left: calc(var(--node) + 6px);
  right: calc(6px - var(--gap));
  border-top: 1px solid rgba(244, 246, 247, 0.26);
}

.jc-link.is-hand::after {   /* the tick */
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  width: 4px;
  height: 19px;
  margin-left: -2px;
  background: var(--signal-red);
}

.jc-link.is-stuck { border-top: 3px solid var(--amber); top: calc(var(--node) / 2 - 1px); }
.jc-link.is-stuck::after { top: -11px; }

.jc-link__label {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--amber);
}

/* the same path as text, for screen readers */
.jc-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* the key for the red ticks (round 2): drawn the same as a tick, then the words */
.jc-key {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.jc-key__mark {
  flex: none;
  width: 4px;
  height: 16px;
  background: var(--signal-red);
}

.jc-cols {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 5vw, 72px);
  padding-top: 32px;
  border-top: 1px solid var(--hair);
}

.jc-stuck {
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.3;
  font-weight: 600;
  font-variation-settings: "wdth" 96, "wght" 600;
}

.jc-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.jc-look-wrap { margin-top: 32px; }
.jc-stuck[hidden] + .jc-look-wrap,
.jc-stuck[hidden] + .jc-look-wrap + .jc-none { margin-top: 0; }

.jc-look {
  margin-top: 12px;
  padding: 0;
  list-style: none;
  counter-reset: look;
  border-top: 1px solid var(--hair);
}

.jc-look li {
  counter-increment: look;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 16px;
  line-height: 1.5;
}

.jc-look li::before {
  content: counter(look);
  font-weight: 700;
  font-variation-settings: "wdth" 75, "wght" 700;
  color: var(--amber);
}

.jc-none { margin-top: 32px; color: var(--muted); }

.jc-start { font-size: 18px; line-height: 1.4; }
.jc-start .jc-label { display: block; margin-bottom: 6px; }
.jc-start strong {
  display: block;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.3;
  font-weight: 700;
  font-variation-settings: "wdth" 92, "wght" 700;
  color: var(--amber);
}

.jc-fine { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* nothing by hand and nothing on the list: this line stands where the stage one and its price would be */
.jc-nothing {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.45;
  font-weight: 600;
  font-variation-settings: "wdth" 96, "wght" 600;
}

.jc-actions { margin-top: 28px; align-items: center; }
.jc-readout .btn--primary { background: var(--amber); color: var(--ink); }

.jc-status {
  margin-top: 12px;
  min-height: 21px;
  color: var(--muted);
  overflow-wrap: anywhere;   /* a copied link must wrap, not push the page sideways */
}

/* ── the retyping sum (inside "Sound familiar?") ───────────────────── */

.rs {
  margin-top: clamp(56px, 6vw, 96px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--hair);
}

.rs__h {
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 104, "wght" 800;
}

.rs__lede { margin-top: 14px; max-width: 52ch; font-size: 18px; line-height: 1.55; color: var(--muted); }

.rs__nojs { margin-top: 24px; max-width: 60ch; font-size: 18px; line-height: 1.55; }

.rs__app { margin-top: 32px; }

.rs__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 24px;
  align-items: end;
  max-width: 980px;
}

.rs .field + .field { margin-top: 0; }
.rs .field > span { font-size: 16px; line-height: 1.4; }
.rs .field input { font-variant-numeric: tabular-nums; }
.rs__hint { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--muted); }

/* the result panel exists from the start (aria-live), and shows only once all four boxes hold a number */
.rs__out { display: block; max-width: 980px; }

.rs__out.is-on {
  margin-top: 32px;
  padding: clamp(24px, 3.5vw, 44px);
  background: var(--graphite);
  color: var(--paper);
}

/* a figure outside a box's range: said plainly, on the alloy band (the form's own error red, about 5.7:1 on #ECEEF0) */
.rs__problem { display: block; margin-top: 20px; font-size: 16px; font-weight: 600; color: #B32218; }
.rs__problem:empty { display: none; }

.rs__hours {
  display: block;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 84, "wght" 800;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
}

.rs__cost {
  display: block;
  margin-top: 14px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.rs__words { display: block; margin-top: 10px; font-size: 15px; line-height: 1.5; color: rgba(244, 246, 247, 0.70); }

.rs__after { margin-top: 20px; max-width: 980px; }
.rs__note { max-width: 60ch; font-size: 16px; line-height: 1.6; color: var(--muted); }
.rs__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; }
.rs__acts .link { font-weight: 600; }
.rs__status { margin-top: 10px; min-height: 21px; color: var(--muted); }

/* ── responsive ───────────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .jc-cols { grid-template-columns: 1fr; }

  /* the path turns to run down the panel */
  .jc-path { grid-template-columns: 1fr; gap: 44px 0; }
  .jc-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--node);
    padding: 0 0 0 calc(var(--node) + 18px);
  }
  .jc-link {
    top: calc(var(--node) + 6px);
    bottom: -38px;   /* to 6px short of the next node: the row gap is 44px */
    left: calc(var(--node) / 2);
    right: auto;
    border-top: 0;
    border-left: 1px solid rgba(244, 246, 247, 0.26);
  }
  .jc-link.is-hand::after { left: -10px; top: 50%; width: 19px; height: 4px; margin: -2px 0 0; }
  .jc-link.is-stuck { top: calc(var(--node) + 6px); left: calc(var(--node) / 2 - 1px); border-top: 0; border-left: 3px solid var(--amber); }
  .jc-link.is-stuck::after { top: 50%; left: -11px; }
  .jc-link__label { left: calc(var(--node) / 2 + 18px); bottom: auto; top: 50%; transform: translateY(-50%); }
}

@media (max-width: 767px) {
  .jc-opts { grid-template-columns: 1fr; }
  .jc-opt { min-height: 56px; }
  .jc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jc-row > legend { float: none; min-height: 0; margin-bottom: 4px; grid-column: 1 / -1; }
  .jc-opt--seg { min-height: 56px; padding: 12px; font-size: 15px; }
  .jc-opt--seg > span::before { display: none; }
  .jc-nav .btn { min-width: 0; }
  .rs__fields { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .jc-progress li { width: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .jc *,
  .rs * { transition: none !important; animation: none !important; }
}
