/* Component layer for the GetGetAcme premium dark direction.
 * Everything here resolves to a token in ../tokens.css; no raw colour appears below. */

*, *::before, *::after { box-sizing: border-box; }
/* F3. `display` on a class beats the `hidden` attribute, which is exactly how the developer bar
   stayed visible while a probe read element.hidden as true. This makes the attribute win. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink-000); color: var(--text);
  font: var(--fw-normal) var(--fs-body)/var(--lh-body) var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--teal-400); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
/* A heading is focused programmatically after navigation so assistive technology lands in the
   right place. It is not interactive, so it must not wear an interactive focus ring. */
h1[tabindex="-1"]:focus, h2[tabindex="-1"]:focus,
h1[tabindex="-1"]:focus-visible, h2[tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }

/* ---------- prototype chrome. Design-team scaffolding, deliberately unlike the product. ---------- */
.proto-bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap;
  padding: var(--s-3) var(--s-5);
  background: repeating-linear-gradient(135deg, var(--ink-050), var(--ink-050) 10px,
              var(--ink-000) 10px, var(--ink-000) 20px);
  border-bottom: 1px solid var(--line);
}
.proto-bar .tag {
  font: var(--fw-heavy) var(--fs-label)/1 var(--font); letter-spacing: var(--ls-label);
  text-transform: uppercase; color: var(--warn); padding: var(--s-2) var(--s-3);
  border: 1px solid var(--warn); border-radius: var(--r-pill);
}
.proto-bar select, .proto-bar button {
  font: var(--fw-medium) var(--fs-sm)/1 var(--font); color: var(--text);
  background: var(--ink-150); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: var(--s-2) var(--s-3); min-height: 34px; cursor: pointer;
}
.proto-bar .note { color: var(--text-low); font-size: var(--fs-xs); }
.frame { padding: var(--s-7) var(--s-5) var(--s-11); }
.frame.mobile { max-width: 390px; margin: 0 auto; padding-left: var(--s-4); padding-right: var(--s-4); }
.frame.mobile .page { padding: 0; }

/* ---------- shared shell ---------- */
.page { max-width: var(--page-max); margin: 0 auto; }
.wizard { max-width: var(--wizard-max); margin: 0 auto; }
.eyebrow {
  font: var(--fw-heavy) var(--fs-label)/1.4 var(--font); letter-spacing: var(--ls-label);
  text-transform: uppercase; color: var(--text-low);
}
.display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--ls-display);
           font-weight: var(--fw-heavy); color: var(--text-hi); }
.h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1);
      font-weight: var(--fw-heavy); color: var(--text-hi); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2);
      font-weight: var(--fw-bold); color: var(--text-hi); }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-bold); color: var(--text-hi); }
.lede { color: var(--text-mid); max-width: var(--measure); }
.fine { font-size: var(--fs-sm); line-height: var(--lh-sm); color: var(--text-mid); }
.meta { font-size: var(--fs-xs); color: var(--text-low); }
time { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-low); }

/* ---------- top navigation: Product, How it works, Explore the demo. Nothing dead. ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: var(--s-4) 0; border-bottom: 1px solid var(--line-soft);
}
.brand { font-weight: var(--fw-heavy); color: var(--text-hi); letter-spacing: -0.01em;
         font-size: var(--fs-h3); background: none; border: 0; padding: var(--s-2) 0;
         cursor: pointer; font-family: var(--font); min-height: var(--tap);
         display: inline-flex; align-items: center; }
.brand:hover { color: var(--teal-400); }
.brand span { color: var(--teal-400); }
.nav-links { display: flex; gap: var(--s-5); align-items: center; }
.nav-links a { color: var(--text-mid); font-size: var(--fs-sm); font-weight: var(--fw-medium);
                display: inline-flex; align-items: center; min-height: var(--tap);
                padding: 0 var(--s-2); border-radius: var(--r-sm); }
.nav-links a:hover { color: var(--text-hi); text-decoration: none; }
/* Below this the three links and the call to action cannot share a row without clipping. The
   brand keeps its line and the navigation takes its own, so nothing is cut off. */
@media (max-width: 560px) {
  .nav { flex-direction: column; align-items: stretch; gap: var(--s-3); }
  .nav-links { flex-wrap: wrap; gap: var(--s-2); }
  .nav-links a { white-space: nowrap; }
  .nav-links a:last-child { margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--tap); padding: 0 var(--s-5);
  font: var(--fw-bold) var(--fs-sm)/1 var(--font); color: var(--text-hi);
  background: var(--ink-150); border: 1px solid var(--line); border-radius: var(--r);
  cursor: pointer; transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn:hover { background: var(--ink-200); border-color: var(--line-loud); }
.btn.primary { background: var(--teal-500); border-color: var(--teal-500); color: var(--teal-ink); }
.btn.primary:hover { background: var(--teal-600); border-color: var(--teal-600); }
.btn.ghost { background: transparent; }
.btn.sm { min-height: 36px; padding: 0 var(--s-4); font-size: var(--fs-xs); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.link { background: none; border: 0; color: var(--teal-400); padding: var(--s-2) 0;
            min-height: 32px; text-decoration: underline; font-weight: var(--fw-medium); }

/* ---------- status chips. Shape and text carry the meaning, not colour alone. ---------- */
.chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font: var(--fw-bold) var(--fs-label)/1 var(--font); letter-spacing: var(--ls-label);
  text-transform: uppercase; padding: var(--s-2) var(--s-3); border-radius: var(--r-pill);
  border: 1px solid var(--line); color: var(--text-mid); background: var(--ink-100);
  white-space: nowrap; flex: 0 0 auto;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.invented { color: var(--warn); border-color: var(--warn); background: var(--warn-wash); }
.chip.unknown  { color: var(--unknown-500); border-color: var(--unknown-500); background: var(--unknown-wash); }
.chip.chosen   { color: var(--teal-400); border-color: var(--teal-400); background: var(--teal-wash); }
.chip.alt      { color: var(--warn); border-color: var(--warn); background: var(--warn-wash); }
.chip.ok       { color: var(--ok-500); border-color: var(--ok-500); background: var(--ok-wash); }
.chip.live     { color: var(--ok-500); border-color: var(--ok-500); background: var(--ok-wash); }
/* The alternative chip also carries a glyph, so the two never rely on hue alone. */
.chip.alt::before { content: "\2248"; width: auto; height: auto; border-radius: 0; background: none; }
.chip.unknown::before { content: "?"; width: auto; height: auto; border-radius: 0; background: none;
                        font-weight: var(--fw-heavy); }

/* ---------- notes: one component, four meanings, each labelled in words ---------- */
.note {
  border: 1px solid var(--line); border-left-width: 3px; border-radius: var(--r);
  background: var(--ink-100); padding: var(--s-4); font-size: var(--fs-sm); line-height: var(--lh-sm);
  color: var(--text);
}
.note strong { color: var(--text-hi); }
.note.warn { border-left-color: var(--warn); background: var(--warn-wash); }
.note.err  { border-left-color: var(--err-500); background: var(--err-wash); }
.note.ok   { border-left-color: var(--ok-500); background: var(--ok-wash); }
.note.info { border-left-color: var(--teal-500); }
.note + .note { margin-top: var(--s-3); }

/* ---------- cards ---------- */
.card {
  background: var(--ink-100); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: var(--s-5);
}
.card + .card { margin-top: var(--s-4); }

/* ---------- hero ---------- */
.hero { padding: var(--s-10) 0 var(--s-9); display: grid; gap: var(--s-8);
        grid-template-columns: minmax(0,1fr) minmax(0,460px); align-items: center; }
.hero-copy { display: grid; gap: var(--s-5); }
.hero .display { max-width: 15ch; }
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-label { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--text-low);
              font-size: var(--fs-xs); }
.hero-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-top: var(--s-8); } }

/* ---------- steps ---------- */
.steps { display: grid; gap: var(--s-4); grid-template-columns: repeat(3, 1fr); }
.step-n { font: var(--fw-heavy) var(--fs-h2)/1 var(--font); color: var(--teal-400); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- section rhythm ---------- */
.section { padding: var(--s-9) 0; border-top: 1px solid var(--line-soft); }
.section-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); }

/* ---------- opportunity card ---------- */
.opp { display: grid; gap: var(--s-4); }
.opp-head { display: flex; justify-content: space-between; gap: var(--s-4);
            align-items: flex-start; flex-wrap: wrap; }
.opp-who { display: grid; gap: var(--s-1); }
.opp-role { color: var(--text-mid); font-size: var(--fs-sm); }
.opp-role .dom { color: var(--text-low); font-family: var(--font-mono); font-size: var(--fs-xs); }
.opp-fit { color: var(--text-hi); }
.opp-row { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: var(--s-3);
           padding: var(--s-3) 0; border-top: 1px solid var(--line-soft); align-items: start; }
.opp-row dt { font: var(--fw-heavy) var(--fs-label)/1.4 var(--font); letter-spacing: var(--ls-label);
              text-transform: uppercase; color: var(--text-low); }
.opp-row dd { margin: 0; }
@media (max-width: 620px) { .opp-row { grid-template-columns: 1fr; gap: var(--s-1); } }
.caution { border-left: 2px solid var(--line-loud); padding-left: var(--s-3); }
.src { display: grid; gap: var(--s-2); }
.src li { display: flex; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-sm); }
.src .nolink { color: var(--text-low); font-size: var(--fs-xs); }
.opp-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; padding-top: var(--s-2); }

/* ---------- disclosure ---------- */
details.disc { border-top: 1px solid var(--line-soft); padding-top: var(--s-3); }
details.disc > summary { cursor: pointer; list-style: none; color: var(--teal-400);
                         font-size: var(--fs-sm); font-weight: var(--fw-bold); min-height: var(--tap);
                         display: flex; align-items: center; gap: var(--s-2); }
details.disc > summary::-webkit-details-marker { display: none; }
details.disc > summary::before { content: "\25B8"; transition: transform var(--dur) var(--ease); }
details.disc[open] > summary::before { transform: rotate(90deg); }
details.disc > .disc-body { padding-top: var(--s-3); display: grid; gap: var(--s-4); }

/* ---------- wizard ---------- */
.phases { display: flex; gap: var(--s-4); flex-wrap: wrap; padding: var(--s-5) 0; font-size: var(--fs-xs); }
.ph { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--text-low); }
.ph .dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line);
           display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.ph.done { color: var(--teal-400); } .ph.done .dot { border-color: var(--teal-400); }
.ph.here { color: var(--text-hi); } .ph.here .dot { background: var(--teal-500); border-color: var(--teal-500);
           color: var(--teal-ink); font-weight: var(--fw-heavy); }
.ph.none .dot { border-style: dashed; }
.progress { display: flex; justify-content: space-between; gap: var(--s-4); font-size: var(--fs-xs);
            color: var(--text-low); padding-bottom: var(--s-3); align-items: center; }
.progress a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--s-2);
              border-radius: var(--r-sm); }
/* F3. One question and its navigation share a column that fits the viewport; only the answer area
   scrolls. The card never has a fixed pixel height, so text zoom and a mobile keyboard can both
   take more room, and nothing is clipped or overlaid. */
.qflow { display: flex; flex-direction: column; gap: var(--s-4);
         max-height: calc(100vh - 190px); min-height: 0; }
.stepcard { background: var(--ink-100); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
            padding: var(--s-6); display: grid; gap: var(--s-4);
            overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.qflow .navrow { flex: 0 0 auto; margin-top: 0; }
@media (max-width: 560px) { .qflow { max-height: calc(100vh - 230px); } }
.q-help { color: var(--text-mid); font-size: var(--fs-sm); }
.req { color: var(--teal-400); }
.opts { display: grid; gap: var(--s-2); }
.opt {
  display: flex; align-items: flex-start; gap: var(--s-3); min-height: var(--tap);
  padding: var(--s-3) var(--s-4); background: var(--ink-150); border: 1px solid var(--line);
  border-radius: var(--r); cursor: pointer; font-size: var(--fs-sm); color: var(--text);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.opt:hover { border-color: var(--line-loud); background: var(--ink-200); }
.opt input { margin: 2px 0 0; accent-color: var(--teal-500); width: 16px; height: 16px; flex: 0 0 auto; }
.opt.checked { border-color: var(--teal-400); background: var(--teal-wash); }
.field-label { font-weight: var(--fw-bold); color: var(--text-hi); font-size: var(--fs-sm); }
input[type=text], textarea {
  width: 100%; background: var(--ink-150); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--text-hi); font: var(--fw-normal) var(--fs-body)/var(--lh-body) var(--font);
  padding: var(--s-3) var(--s-4); min-height: var(--tap);
}
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--text-low); }
.navrow {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-3); align-items: center;
  padding-top: var(--s-5); margin-top: var(--s-2); border-top: 1px solid var(--line-soft);
}
.navrow .mid { text-align: center; }
.tags { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; gap: var(--s-2); background: var(--ink-150);
       border: 1px solid var(--line); border-radius: var(--r-pill); padding: var(--s-2) var(--s-3);
       font-size: var(--fs-xs); color: var(--text); }
.tag.kept { border-style: dashed; }
.tag button { background: none; border: 0; color: var(--text-low); cursor: pointer; font-size: 15px;
              line-height: 1; padding: 0 var(--s-2); margin: calc(var(--s-2) * -1) calc(var(--s-2) * -1)
              calc(var(--s-2) * -1) 0; min-width: 28px; min-height: 28px; border-radius: var(--r-sm); }
.tag button:hover { color: var(--text-hi); background: var(--ink-200); }

/* ---------- review ---------- */
.topic { background: var(--ink-100); border: 1px solid var(--line-soft); border-radius: var(--r);
         padding: var(--s-4); display: flex; gap: var(--s-4); align-items: flex-start; }
.topic + .topic { margin-top: var(--s-3); }
.topic .grow { flex: 1 1 auto; min-width: 0; }
.topic-prev { color: var(--text-low); font-size: var(--fs-sm); }
.srow { display: grid; grid-template-columns: minmax(0,200px) minmax(0,1fr) auto; gap: var(--s-3);
        padding: var(--s-3) 0; border-top: 1px solid var(--line-soft); align-items: baseline; }
.srow dt { color: var(--text-low); font-size: var(--fs-sm); }
.srow dd { margin: 0; color: var(--text); font-size: var(--fs-sm); }
@media (max-width: 620px) { .srow { grid-template-columns: 1fr; } }

/* ---------- weekly view ---------- */
.stats { display: flex; gap: var(--s-7); flex-wrap: wrap; padding: var(--s-5);
         background: var(--ink-050); border: 1px solid var(--line-soft); border-radius: var(--r-lg); }
.stat b { display: block; font: var(--fw-heavy) var(--fs-h2)/1.1 var(--font); color: var(--text-hi); }
.stat span { font-size: var(--fs-xs); color: var(--text-low); }

/* ---------- feedback ---------- */
.fbf { background: var(--ink-050); border: 1px solid var(--line); border-radius: var(--r);
       padding: var(--s-4); display: grid; gap: var(--s-4); margin-top: var(--s-3); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
legend { font-weight: var(--fw-bold); color: var(--text-hi); font-size: var(--fs-sm); padding: 0; }

/* ---------- process illustration ---------- */
.illus { display: grid; gap: var(--s-3); }
.illus-step { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-4);
              background: var(--ink-100); border: 1px solid var(--line-soft); border-radius: var(--r); }
.illus-step .n { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--ink-200);
                 color: var(--text-mid); display: inline-flex; align-items: center; justify-content: center;
                 font-size: var(--fs-xs); font-weight: var(--fw-heavy); }
.illus-step.on { border-color: var(--teal-400); }
.illus-step.on .n { background: var(--teal-500); color: var(--teal-ink); }

.stack { display: grid; gap: var(--s-4); }
.stack-lg { display: grid; gap: var(--s-6); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
           clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* SITE_ENGINE_LOCAL_CONNECTION_20260913: the local engine test reuses the note, card, chip, stats and
   srow components. These two rules cover only what they did not: engine lists, and the long unbroken
   strings an engine reply carries (job ids, synthetic addresses) at narrow widths. */
.engine-list { margin: 8px 0 0; padding-left: 18px; list-style: disc; display: grid; gap: 4px; }
.engine-wrap, #engine-live .meta { overflow-wrap: anywhere; }

/* CUSTOMER_FIRST_HOUR_AUDIT_20260917 finding 12: a finger-sized link to the cited page. */
.claims a { display: inline-block; padding: 6px 4px; }
