/* ---------------------------------------------------------------------------
 * Group product overview — scoped stylesheet
 *
 * GENERATED by setup/build-product-overview.mjs. Do not edit by hand; edit the
 * source sheet in the Masterplan repo and re-run the build.
 *
 * Every selector is scoped under .gps so the sheet and the theme cannot reach
 * into each other. Colour declarations carry !important because the site's
 * iqlabs-brand.php mu-plugin forces colour on p / h1-h6 / a / li site-wide.
 * The sheet's dark token set is pinned: iqlabs.ltd is a dark site.
 * ------------------------------------------------------------------------- */

.gps {
--paper:#0F1413; --card:#171D1B; --band:#080B0A;
    --ink:#ECEFEC; --ink-2:#AAB4B0; --ink-3:#7A8380;
    --rule:#2A3230; --rule-soft:#212827;
    --ui:#E08B52; --iq:#66B4CE; --ad:#9CC46B;
    --on-band:#ECEFEC; --on-band-2:#8D9895;
}

/* Undo the site-wide !important colour overrides for this subtree. The sheet's
   own rules are more specific, so they still win where they set a colour. */
.gps h1, .gps h2, .gps h3,
.gps h4, .gps h5, .gps h6,
.gps p, .gps dt, .gps dd,
.gps ul, .gps ol, .gps li {
  color: inherit !important;
}
.gps a {
  color: inherit !important;
  text-decoration: none !important;
}


.gps, .gps * {box-sizing:border-box}

.gps {
    background:var(--paper);color:var(--ink) !important;
    font-family:"Source Serif 4",Georgia,"Times New Roman",serif;
    font-size:16px;line-height:1.5;
    -webkit-font-smoothing:antialiased;
  }

.gps h1,
.gps h2,
.gps h3,
.gps .mono,
.gps .eyebrow {font-family:"Archivo","Segoe UI",system-ui,sans-serif}

.gps .mono,
.gps .eyebrow,
.gps .dom,
.gps .tag,
.gps .count {font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace}

.gps a {color:inherit !important}

.gps .wrap {max-width:1150px;margin:0 auto;padding-inline:24px}

/* ---------- masthead ---------- */
.gps .band {background:var(--band);color:var(--on-band) !important;padding-block:44px 38px}

.gps .eyebrow {
    font-size:11px;letter-spacing:.16em;text-transform:uppercase;
    color:var(--on-band-2) !important;font-weight:500;margin:0 0 14px;
  }

.gps h1 {
    font-size:clamp(30px,5.4vw,46px);font-weight:700;line-height:1.02;
    letter-spacing:-.022em;margin:0;text-wrap:balance;max-width:16ch;
  }

.gps .lede {
    margin:16px 0 0;max-width:60ch;color:var(--on-band-2) !important;
    font-size:17px;line-height:1.55;
  }

.gps .lede b {color:var(--on-band) !important;font-weight:600}

.gps .jump {
    display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 0;
    border-top:1px solid rgba(167,178,174,.24);padding-top:20px;
  }

.gps .jump a {
    flex:1 1 200px;text-decoration:none;
    display:grid;gap:3px;padding:11px 13px;
    border:1px solid rgba(167,178,174,.26);border-radius:2px;
    border-left:3px solid var(--acc);
    transition:background .15s ease,border-color .15s ease;
  }

.gps .jump a:hover,
.gps .jump a:focus-visible {background:rgba(167,178,174,.09);border-color:rgba(167,178,174,.5);border-left-color:var(--acc)}

.gps .jlogo {
    height:22px;width:auto;max-width:100%;
    object-fit:contain;object-position:left center;
    display:block;margin-bottom:6px;
  }

.gps .jlogo.square {border-radius:3px}

.gps .jump .j-name {font-family:"Archivo",system-ui,sans-serif;font-weight:600;font-size:14.5px;letter-spacing:-.01em}

.gps .jump .j-role {font-size:12.5px;color:var(--on-band-2) !important;line-height:1.35}

.gps .jump .count {font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--on-band-2) !important;margin-top:2px}

/* ---------- company sections ---------- */
.gps .sheet-main {padding-block:8px 0}

.gps .co {
    display:grid;grid-template-columns:216px 1fr;gap:40px;
    align-items:start;padding-block:46px;
    border-bottom:1px solid var(--rule);
  }

.gps .co:last-of-type {border-bottom:0}

.gps .co.ui {--acc:var(--ui)}

.gps .co.iq {--acc:var(--iq)}

.gps .co.ad {--acc:var(--ad)}

.gps .rail {position:sticky;top:20px}

.gps .rlogo {width:42px;height:42px;object-fit:contain;border-radius:7px;display:block;margin-bottom:14px}

.gps .rplate {
    background:var(--band);border-radius:3px;
    padding:11px 13px;margin-bottom:14px;
    display:flex;align-items:center;
  }

.gps .rwide {width:100%;height:auto;max-height:34px;object-fit:contain;display:block}

.gps .rail .bar {height:4px;background:var(--acc);width:44px;margin-bottom:14px}

.gps .rail h2 {
    font-size:22px;font-weight:700;line-height:1.1;letter-spacing:-.018em;
    margin:0;text-wrap:balance;
  }

.gps .rail .role {margin:9px 0 0;font-size:14.5px;line-height:1.45;color:var(--ink-2) !important}

.gps .rail dl {
    margin:16px 0 0;display:grid;grid-template-columns:auto 1fr;
    gap:5px 12px;font-size:12.5px;line-height:1.4;
  }

.gps .rail dt {
    font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.07em;
    text-transform:uppercase;color:var(--ink-3) !important;padding-top:2px;
  }

.gps .rail dd {margin:0;color:var(--ink-2) !important}

.gps .rail .site {
    display:inline-block;margin-top:16px;font-size:12.5px;
    color:var(--acc) !important;text-decoration:none;
    border-bottom:1px solid color-mix(in srgb,var(--acc) 38%,transparent);
    padding-bottom:1px;
  }

.gps .rail .site:hover,
.gps .rail .site:focus-visible {border-bottom-color:var(--acc)}

/* ---------- product list ---------- */
.gps .grp {
    font-family:"IBM Plex Mono",monospace;font-size:10.5px;letter-spacing:.13em;
    text-transform:uppercase;color:var(--acc) !important;
    display:flex;align-items:center;gap:12px;margin:0;
  }

.gps .grp::after {content:"";flex:1;height:1px;background:var(--rule)}

.gps .stack {
    display:grid;grid-template-columns:repeat(2,1fr);
    gap:18px;align-items:stretch;margin:0 0 40px;
  }

.gps .stack:last-child {margin-bottom:0}

.gps .grp {grid-column:1/-1}

/* a trailing card with no neighbour spans both tracks instead of leaving a gap */
.gps .grp:first-child ~ .item:last-child:nth-child(even) {grid-column:span 2}

.gps .item {
    display:flex;flex-direction:column;
    background:var(--card);border:1px solid var(--rule);border-radius:2px;
    padding:20px 22px 18px;
    transition:border-color .15s ease;
  }

.gps .item:hover {border-color:color-mix(in srgb,var(--acc) 55%,var(--rule))}

.gps .foot {
    margin-top:auto;padding-top:16px;
    display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;
  }

.gps .brand {
    display:flex;align-items:center;gap:12px;
    min-height:36px;margin:0 0 11px;
  }

.gps .logo {
    width:36px;height:36px;flex:none;object-fit:contain;
    border-radius:6px;display:block;
  }

.gps .pname {
    font-family:"Archivo",system-ui,sans-serif;font-weight:600;
    font-size:18.5px;letter-spacing:-.016em;line-height:1.2;margin:0;
  }

.gps .dom {
    font-size:13.5px;color:var(--acc) !important;text-decoration:none;
    border-bottom:1px solid color-mix(in srgb,var(--acc) 32%,transparent);
    padding-bottom:1px;white-space:nowrap;
    transition:border-color .15s ease;
  }

.gps .dom:hover,
.gps .dom:focus-visible {border-bottom-color:var(--acc);border-bottom-width:2px;padding-bottom:0}

.gps .dom .arw {opacity:.55;margin-left:2px}

.gps .tag {
    font-size:10px;letter-spacing:.08em;text-transform:uppercase;
    color:var(--ink-3) !important;border:1px dashed var(--rule);
    padding:2px 7px;border-radius:2px;white-space:nowrap;
  }

.gps .desc {margin:0;color:var(--ink-2) !important;font-size:16px;line-height:1.55}

/* ---------- social icons ---------- */
.gps .socs {display:flex;align-items:center;gap:11px;margin-left:auto}

.gps .soc {
    display:inline-flex;align-items:center;justify-content:center;
    width:21px;height:21px;color:var(--ink-3) !important;
    transition:color .15s ease,transform .15s ease;
  }

.gps .soc svg {width:17px;height:17px;display:block}

.gps .soc:hover,
.gps .soc:focus-visible {color:var(--acc) !important;transform:translateY(-1px)}

/* ---------- footer ---------- */
.gps footer {
    border-top:1px solid var(--rule);margin-top:0;
    padding-block:26px 44px;display:grid;gap:8px;
    font-size:13px;line-height:1.5;color:var(--ink-3) !important;
  }

.gps footer strong {color:var(--ink-2) !important;font-weight:600}

.gps footer .mono {font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-3) !important}

.gps a:focus-visible,
.gps .jump a:focus-visible {outline:2px solid var(--acc,currentColor);outline-offset:3px;border-radius:1px}

@media (prefers-reduced-motion:reduce) {
  .gps, .gps * {transition:none!important}
}

@media (max-width:820px) {
  .gps .co {grid-template-columns:1fr;gap:22px;padding-block:34px}
  .gps .rail {position:static}
  .gps .rail dl {max-width:34ch}
}

@media (max-width:700px) {
  .gps .stack {grid-template-columns:1fr;gap:14px}
  .gps .grp:first-child ~ .item:last-child {grid-column:auto}
}

@media (max-width:460px) {
  .gps .wrap {padding-inline:18px}
  .gps .band {padding-block:34px 30px}
  .gps .head {gap:3px 10px}
  .gps .dom {white-space:normal}
}

@media print {
  .gps {background:#fff;color:#000 !important;font-size:10pt;line-height:1.35}
  .gps .band {background:#fff;color:#000 !important;padding-block:0 14pt;border-bottom:1.5pt solid #000}
  .gps .eyebrow,
  .gps .lede,
  .gps .rail .role,
  .gps .desc,
  .gps .rail dd {color:#333 !important}
  .gps .jump {display:none}
  .gps .wrap {max-width:none;padding-inline:0}
  .gps .co {grid-template-columns:150pt 1fr;gap:18pt;padding-block:16pt;break-inside:avoid}
  .gps .rail {position:static}
  .gps .item {break-inside:avoid;padding:6pt 0}
  .gps .dom {color:#000 !important}
  .gps h1 {font-size:20pt}
  .gps .rail h2 {font-size:13pt}
  .gps .pname {font-size:11pt}
}

@media (max-width:700px) {
  /* The source sheet's own reset for the trailing full-width card is a pseudo-class
     less specific than the base rule it targets, so the card kept spanning two
     tracks in a one-column grid and created an over-wide implicit column.
     Reported upstream; matched here so phones do not scroll sideways. */
  .gps .grp:first-child ~ .item:last-child:nth-child(even) { grid-column: auto; }
}
