/* ══════════════════════════════════════════════════════════════════
   Corbit — Solutions & sectors page.
   Base, shell, header, footer, the dark hero ground and the final CTA
   band come from main.css; only what is specific to this page is here.
   ══════════════════════════════════════════════════════════════════ */

/* ── 01 · Hero ────────────────────────────────────────────────────── */
.sol-hero__body {
  position: relative;
  padding: 96px var(--gutter) 0;
}
.sol-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--mint-7);
}
.sol-hero__title {
  margin: 0 0 26px;
  font-size: 64px;
  line-height: 1.26;
  font-weight: var(--fw-black);
  letter-spacing: -.035em;
  color: var(--white);
}
.sol-hero__title span {
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, .5);
}
.sol-hero__text {
  margin: 0 0 52px;
  font-size: 17.5px;
  line-height: 2.1;
  color: rgba(255, 255, 255, .7);
}

.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.stat-bar__cell {
  padding: 26px 0 30px;
  border-left: 1px solid rgba(255, 255, 255, .12);
}
.stat-bar__cell:not(:first-child) { padding-right: 28px; }
.stat-bar__cell:last-child { border-left: 0; }
.stat-bar__value {
  font-size: 38px;
  line-height: 1.2;
  font-weight: var(--fw-black);
  letter-spacing: -.02em;
  color: var(--mint-7);
}
.stat-bar__label {
  margin-top: 6px;
  padding-left: 24px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .62);
}
.stat-bar__cell:last-child .stat-bar__label { padding-left: 0; }

/* ── 02 · Industry workbench ──────────────────────────────────────── */
.sectors {
  background: var(--white);
  padding: 96px 0;
}
.sectors__title {
  margin: 0 0 32px;
  max-width: 640px;
  font-size: 34px;
  line-height: 1.45;
  font-weight: var(--fw-black);
  letter-spacing: -.02em;
  color: var(--black);
}

.sector-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.sector-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  font-size: 14.5px;
  font-weight: var(--fw-semibold);
  color: var(--gray-1100);
  background: var(--white);
  border: 1px solid var(--border-strong);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.sector-tab:hover { border-color: var(--blue-8); }
.sector-tab.is-active {
  background: var(--blue-8);
  color: var(--white);
  border-color: var(--blue-8);
}
.sector-tab__dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--gray-400);
  transition: background .18s ease;
}
.sector-tab.is-active .sector-tab__dot { background: var(--mint-7); }

.sector-panel {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--white);
}
.sector-panel.is-active { display: block; }

/* head · command band */
.sector-band {
  position: relative;
  overflow: hidden;
  background: var(--blue-10);
}
.sector-band__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.sector-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 40px;
}
.sector-band__kicker {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--mint-7);
}
.sector-band__name {
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 1.5;
  font-weight: var(--fw-black);
  letter-spacing: -.02em;
  color: var(--white);
}
.sector-band__intro {
  margin: 0;
  max-width: 580px;
  font-size: 15px;
  line-height: 2.05;
  color: rgba(255, 255, 255, .66);
}
.sector-band__side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-right: 36px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}
.sector-band__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sector-chip {
  direction: ltr;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: var(--fw-bold);
  color: var(--mint-7);
  background: rgba(1, 233, 197, .12);
  border: 1px solid rgba(1, 233, 197, .4);
}
.sector-band__note {
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .55);
}
.sector-band__cta {
  align-self: flex-start;
  height: 50px;
  padding: 0 26px;
  font-size: 15px;
}

/* chain */
.sector-chain {
  padding: 40px;
  border-bottom: 1px solid var(--border-main);
}
.sector-chain__label {
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--gray-800);
}
.sector-chain__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
/* the rule stops short of the outer badges so the row reads as a chain */
.sector-chain__rule {
  position: absolute;
  top: 17px;
  right: 17%;
  left: 17%;
  height: 1px;
  background: var(--border-main);
}
.sector-step {
  padding: 0 30px;
  border-right: 1px solid var(--border-main);
  text-align: center;
}
/* :first-of-type, not :first-child — the connecting rule is the first
   child of the grid */
.sector-step:first-of-type {
  padding: 0 0 0 30px;
  border-right: 0;
}
.sector-step__badge-row {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.sector-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: var(--white);
  background: var(--blue-8);
}
.sector-step__title {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.65;
  font-weight: var(--fw-bold);
  color: var(--black);
}
.sector-step__body {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--gray-1000);
}

/* stack + metrics */
.sector-foot {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
}
.sector-stack {
  padding: 36px 40px;
  border-left: 1px solid var(--border-main);
}
.sector-stack__label,
.sector-metrics__label {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--gray-800);
}
.sector-stack__label { margin-bottom: 22px; }
.sector-stack__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* a dashed box means "not proposed here" — the page is as explicit about
   what it leaves out as about what it recommends */
.stack-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 16px;
  padding: 20px 24px 20px 20px;
  border: 1px dashed var(--border-strong);
  background: transparent;
  transition: border-color .25s ease, background .25s ease;
}
.stack-item.is-on {
  border: 1px solid var(--blue-8);
  background: var(--white);
}
.stack-item__rail {
  position: absolute;
  top: -1px;
  bottom: -1px;
  right: -1px;
  width: 4px;
  background: transparent;
  transition: background .25s ease;
}
.stack-item.is-on .stack-item__rail { background: var(--mint-7); }
.stack-item__badge {
  direction: ltr;
  margin-top: 2px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  color: var(--gray-700);
  background: transparent;
  border: 1px solid var(--border-strong);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.stack-item.is-on .stack-item__badge {
  color: var(--white);
  background: var(--blue-8);
  border-color: var(--blue-8);
}
.stack-item__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.stack-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stack-item__title {
  font-size: 15.5px;
  font-weight: var(--fw-bold);
  color: var(--gray-800);
  transition: color .25s ease;
}
.stack-item.is-on .stack-item__title { color: var(--black); }
.stack-item__status {
  flex-shrink: 0;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  color: var(--gray-700);
  background: transparent;
  border: 1px solid var(--border-main);
}
.stack-item.is-on .stack-item__status {
  color: #0B6E5F;
  background: rgba(1, 233, 197, .14);
  border-color: rgba(1, 233, 197, .4);
}
.stack-item__role {
  font-size: 13px;
  line-height: 1.9;
  color: var(--gray-800);
  transition: color .25s ease;
}
.stack-item.is-on .stack-item__role { color: var(--gray-1000); }

.sector-metrics {
  display: flex;
  flex-direction: column;
  padding: 36px 34px;
  background: var(--gray-50);
}
.sector-metrics__label { margin-bottom: 8px; }
.sector-metrics__note {
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--gray-900);
}
.sector-metrics__list { border-top: 1px solid var(--border-main); }
.metric {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-main);
}
.metric__label {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-900);
}
.metric__value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: var(--fw-bold);
  letter-spacing: -.01em;
  color: var(--blue-8);
}
.metric__value::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--mint-7);
}

/* ── 03 · Field evidence ──────────────────────────────────────────── */
.evidence {
  position: relative;
  overflow: hidden;
  background: var(--blue-10);
}
.evidence__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.evidence__inner {
  position: relative;
  padding: 64px var(--gutter) 68px;
}
.evidence__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  margin-bottom: 26px;
}
.evidence__title {
  margin: 0;
  font-size: 34px;
  line-height: 1.45;
  font-weight: var(--fw-black);
  letter-spacing: -.02em;
  color: var(--white);
}
.evidence__badge {
  padding-bottom: 6px;
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--mint-7);
  white-space: nowrap;
}

.evidence__context {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.evidence__ctx {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.evidence__ctx:last-child {
  padding-left: 0;
  border-left: 0;
}
.evidence__ctx-key {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}
.evidence__ctx-val {
  font-size: 13.5px;
  font-weight: var(--fw-semibold);
  color: var(--white);
}
.evidence__ctx-val--accent { color: var(--mint-7); }

.evidence__outcomes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 26px;
}
.evidence__outcome {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, .14);
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .82);
}
.evidence__outcome:first-child { padding-right: 0; }
.evidence__outcome:last-child {
  padding-left: 0;
  border-left: 0;
}
.evidence__tick {
  width: 22px;
  height: 2px;
  background: var(--mint-7);
}

/* ── 04 · IT assurance ────────────────────────────────────────────── */
.assurance { background: var(--white); }
.assurance__head { padding: 96px var(--gutter) 0; }
.assurance__title {
  margin: 0 0 8px;
  max-width: 620px;
  font-size: 34px;
  line-height: 1.45;
  font-weight: var(--fw-black);
  letter-spacing: -.02em;
  color: var(--black);
}
.assurance__note {
  margin: 0;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--gray-1000);
}
.assurance__rail-wrap { padding: 36px var(--gutter) 96px; }

/* the marquee moves continuously; hovering the rail holds it so a card
   can be read without chasing it */
.assurance__rail {
  overflow: hidden;
  padding: 10px 0 20px;
  margin: -10px 0 -20px;
}
.assurance__track {
  display: flex;
  gap: 14px;
  align-items: stretch;
  will-change: transform;
}
.qcard {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 372px;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  background: var(--white);
  border: 1px solid var(--border-main);
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.qcard:hover {
  border-color: var(--blue-8);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 19, 75, .09);
}
.qcard__rail {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: transparent;
  transition: background .22s ease;
  pointer-events: none;
}
.qcard:hover .qcard__rail { background: var(--mint-7); }
.qcard__num {
  direction: ltr;
  text-align: right;
  margin-bottom: 18px;
  font-family: var(--font-fa);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--gray-700);
}
.qcard__q {
  margin-bottom: 14px;
  font-size: 18.5px;
  line-height: 1.7;
  font-weight: var(--fw-bold);
  letter-spacing: -.015em;
  color: var(--black);
}
.qcard__a {
  font-size: 14px;
  line-height: 2;
  color: var(--gray-1000);
}

/* ── 05 · Scope boundary ──────────────────────────────────────────── */
.scope {
  background: var(--gray-50);
  border-top: 1px solid var(--border-main);
  padding: 72px 0;
}
.scope__title {
  margin: 0 0 12px;
  max-width: 640px;
  font-size: 32px;
  line-height: 1.45;
  font-weight: var(--fw-black);
  letter-spacing: -.02em;
  color: var(--black);
}
.scope__note {
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--gray-1000);
}
.scope__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0 48px;
  align-items: start;
}
.scope__aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}
.scope__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--blue-8);
  border: 1px solid var(--blue-8);
}
.scope__aside-title {
  font-size: 17px;
  line-height: 1.7;
  font-weight: var(--fw-bold);
  color: var(--black);
}
.scope__aside-text {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--gray-1000);
}

.scope__rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--border-main);
}
.scope-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0 16px;
  padding: 26px 26px 28px 24px;
  transition: background .2s ease;
}
.scope-row:hover { background: var(--gray-50); }
.scope-row:nth-child(odd) { border-left: 1px solid var(--border-main); }
.scope-row:nth-child(n + 3) { border-top: 1px solid var(--border-main); }
.scope-row__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--white);
  background: var(--blue-8);
}
.scope-row__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.scope-row__do {
  font-size: 16px;
  line-height: 1.7;
  font-weight: var(--fw-semibold);
  color: var(--black);
}
.scope-row__instead {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.scope-row__instead-key {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: var(--fw-semibold);
  color: var(--gray-700);
}
.scope-row__instead-sep {
  width: 1px;
  height: 11px;
  flex-shrink: 0;
  background: var(--border-strong);
}
.scope-row__instead-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--gray-900);
}

/* ══════════════════════════════════════════════════════════════════
   Responsive — the source design is desktop-only.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .sector-band__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sector-band__side {
    padding-right: 0;
    padding-top: 24px;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }
  .sector-foot { grid-template-columns: 1fr; }
  .sector-stack {
    border-left: 0;
    border-bottom: 1px solid var(--border-main);
  }
}

@media (max-width: 980px) {
  .sol-hero__body { padding: 72px var(--gutter) 0; }
  .sol-hero__title { font-size: 40px; }
  .sol-hero__text { font-size: 16px; margin-bottom: 36px; }

  .stat-bar { grid-template-columns: 1fr 1fr; }
  .stat-bar__cell:nth-child(2n) {
    padding-left: 0;
    border-left: 0;
  }
  .stat-bar__cell:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .12); }

  .sectors,
  .scope { padding: 64px 0; }
  .sectors__title,
  .evidence__title,
  .assurance__title { font-size: 27px; }
  .scope__title { font-size: 26px; }

  .sector-band__inner,
  .sector-chain,
  .sector-stack { padding: 28px 22px; }
  .sector-metrics { padding: 28px 22px; }
  .sector-chain__grid { grid-template-columns: 1fr; }
  .sector-chain__rule { display: none; }
  .sector-step,
  .sector-step:first-of-type {
    padding: 0 0 26px;
    border-right: 0;
    text-align: right;
  }
  .sector-step__badge-row { justify-content: flex-start; }

  .evidence__inner { padding: 52px var(--gutter) 56px; }
  .evidence__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .evidence__outcomes { grid-template-columns: 1fr 1fr; }
  .evidence__outcome {
    padding: 18px 0 0;
    border-left: 0;
  }

  .assurance__head { padding: 64px var(--gutter) 0; }
  .assurance__rail-wrap { padding: 28px var(--gutter) 64px; }

  /* The marquee pauses on hover, which a touch device never fires, and the
     rail can't be swiped either — so on narrow screens the cards stack and
     solutions.js leaves the track alone. */
  .assurance__rail {
    overflow: visible;
    padding: 0;
    margin: 0;
  }
  .assurance__track {
    flex-direction: column;
    transform: none;
  }
  .qcard { flex: none; }
  .qcard--dup { display: none; }

  .scope__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .scope__aside { position: static; }
  .scope__rows { grid-template-columns: 1fr; }
  .scope-row:nth-child(odd) { border-left: 0; }
  .scope-row:nth-child(n + 2) { border-top: 1px solid var(--border-main); }
}

@media (max-width: 620px) {
  .sol-hero__title { font-size: 31px; }
  .stat-bar { grid-template-columns: 1fr; }
  .stat-bar__cell,
  .stat-bar__cell:not(:first-child) {
    padding: 20px 0 22px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .stat-bar__cell:first-child { border-top: 0; }
  .stat-bar__label { padding-left: 0; }

  .evidence__outcomes { grid-template-columns: 1fr; }
  .qcard { flex-basis: 280px; }
  .stack-item__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .sector-band__cta { width: 100%; }
}
