/* Industry landing pages — route-scoped (loaded per slug in app/[slug]/page.tsx).
   Components: components/sections/limaxlock/LLIndustryComp.tsx.
   Tokens, buttons, .ll-pagehero, .ll-solsec, .ll-mock and .ll-badge come from
   limaxlock-home.css; this file only adds the industry-page compositions.
   Spacing stays on the theme scale (documents/theme.md §6). */

/* ── Hero fleet board ───────────────────────────────────────────────────── */

.ll-indhero .ll-pagehero__title { max-width: 15em; }
.ll-indhero .ll-pagehero__sub { max-width: 34em; }

.ll-indhero__visual { position: relative; }

.ll-indboard { position: relative; }

.ll-indboard__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--slate-200);
}

.ll-indboard__kpi {
  padding: 16px 20px;
  border-left: 1px solid var(--slate-200);
}
.ll-indboard__kpi:first-child { border-left: 0; }

.ll-indboard__kpi span {
  display: block;
  font-family: var(--ll-font-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.ll-indboard__kpi b {
  font-family: var(--ll-font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  font-variant-numeric: tabular-nums;
}

.ll-indboard__rows {
  list-style: none;
  margin: 0;
  padding: 8px 12px;
}

.ll-indboard__row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1.25fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--slate-100);
}
.ll-indboard__row:last-child { border-bottom: 0; }

.ll-indboard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.ll-indboard__icon svg { width: 20px; height: 20px; }

.ll-indboard__name { min-width: 0; }

.ll-indboard__name b {
  display: block;
  font-family: var(--ll-font-ui);
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ll-indboard__name i {
  display: block;
  font-family: var(--ll-font-ui);
  font-size: 12px;
  font-style: normal;
  color: var(--slate-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ll-indboard__policy {
  font-family: var(--ll-font-ui);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ll-indboard__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 20px;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  font-family: var(--ll-font-ui);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--slate-600);
}

.ll-indboard__footicon { display: inline-flex; color: var(--brand-600); }
.ll-indboard__footicon svg { width: 16px; height: 16px; }

/* ── Quick answer ───────────────────────────────────────────────────────── */

.ll-indanswer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.ll-indanswer__q {
  font-family: var(--ll-font-heading);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin: 0 0 20px;
  text-wrap: balance;
}

/* The definition is the line most likely to be quoted — larger, darker and
   marked with a brand rule so it reads as the answer, not as intro copy. */
.ll-indanswer__a {
  font-family: var(--ll-font-body);
  font-size: 19px;
  line-height: 1.7;
  color: var(--slate-900);
  margin: 0 0 24px;
  padding-left: 20px;
  border-left: 3px solid var(--brand-600);
  max-width: 62ch;
}

.ll-indanswer__more p {
  font-family: var(--ll-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-600);
  margin: 0 0 16px;
  max-width: 68ch;
}

.ll-indanswer__more a { color: var(--brand-600); font-weight: 600; text-decoration: none; }
.ll-indanswer__more a:hover { color: var(--brand-700); text-decoration: underline; }

.ll-indanswer__sub {
  font-family: var(--ll-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-900);
  margin: 32px 0 16px;
}

.ll-indanswer__takeaways {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 68ch;
}

.ll-indanswer__takeaways li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--ll-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-600);
}

.ll-indanswer__takeaways svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 4px;
  color: var(--brand-600);
}

.ll-indfacts {
  position: sticky;
  top: 100px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 24px 24px 20px;
}

.ll-indfacts__title {
  font-family: var(--ll-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 0 0 8px;
}

.ll-indfacts__list { margin: 0; }

.ll-indfacts__row {
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-200);
}

.ll-indfacts__row dt {
  font-family: var(--ll-font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 2px;
}

.ll-indfacts__row dd {
  font-family: var(--ll-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--slate-900);
  margin: 0;
}

.ll-indfacts__updated {
  font-family: var(--ll-font-ui);
  font-size: 12.5px;
  color: var(--slate-500);
  margin: 16px 0 0;
}

/* ── Challenges table ───────────────────────────────────────────────────── */

.ll-indtable__wrap {
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ll-indtable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
}

.ll-indtable th,
.ll-indtable td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
  font-family: var(--ll-font-body);
  font-size: 15.5px;
  line-height: 1.6;
  border: 0;
  border-bottom: 1px solid var(--slate-200);
}

.ll-indtable tbody tr:last-child th,
.ll-indtable tbody tr:last-child td { border-bottom: 0; }

.ll-indtable thead th {
  padding: 14px 24px;
  background: var(--slate-50);
  font-family: var(--ll-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.ll-indtable thead th:nth-child(2) { color: var(--brand-800); background: var(--brand-50); }

.ll-indtable tbody th {
  width: 28%;
  font-family: var(--ll-font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--slate-900);
}

.ll-indtable td { color: var(--slate-600); }
.ll-indtable tbody td:nth-child(2) { background: rgba(239, 249, 252, 0.55); color: var(--slate-900); }
.ll-indtable td.is-outcome { color: var(--success-text); font-weight: 600; }

/* Checklist variant — emphasis moves from the middle column to the last one
   (the LimaxLock answer), which carries a check mark instead of green text. */
.ll-indtable--checklist thead th:nth-child(2) { color: var(--slate-500); background: var(--slate-50); }
.ll-indtable--checklist thead th:nth-child(3) { color: var(--brand-800); background: var(--brand-50); }
.ll-indtable--checklist tbody td:nth-child(2) { background: none; color: var(--slate-600); }
.ll-indtable--checklist tbody td.is-yes {
  background: rgba(239, 249, 252, 0.55);
  color: var(--slate-900);
}
.ll-indtable--checklist td.is-yes { display: table-cell; }
.ll-indtable--checklist td.is-yes > span:last-child { display: block; padding-left: 30px; }

.ll-indtable__yes {
  float: left;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
}
.ll-indtable__yes svg { width: 12px; height: 12px; }

/* ── What each team gets ────────────────────────────────────────────────── */

.ll-indteams {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ll-indteam {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--brand-600);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ll-indteam__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: 16px;
}
.ll-indteam__icon svg { width: 24px; height: 24px; }

.ll-indteam__team {
  font-family: var(--ll-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin: 0 0 8px;
}

.ll-indteam__title {
  font-family: var(--ll-font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--slate-900);
  margin: 0 0 16px;
}

.ll-indteam__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ll-indteam__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--ll-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate-600);
}

.ll-indteam__list svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  color: var(--brand-600);
}

/* ── Device scenarios ───────────────────────────────────────────────────── */

.ll-indscn {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ll-indscn__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.ll-indscn__card:hover { box-shadow: var(--shadow-md); border-color: var(--slate-300); }

.ll-indscn__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.ll-indscn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.ll-indscn__icon svg { width: 24px; height: 24px; }

.ll-indscn__title {
  font-family: var(--ll-font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--slate-900);
  margin: 0 0 4px;
}

.ll-indscn__mode {
  display: inline-block;
  font-family: var(--ll-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand-800);
  background: var(--brand-50);
  border-radius: 999px;
  padding: 3px 10px;
  margin: 0;
}

.ll-indscn__text {
  font-family: var(--ll-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-600);
  margin: 0 0 16px;
}

.ll-indscn__list {
  list-style: none;
  margin: 0 0 8px;
  padding: 16px 0 0;
  border-top: 1px solid var(--slate-200);
  display: grid;
  gap: 8px;
}

.ll-indscn__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--ll-font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--slate-900);
}

.ll-indscn__list svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 3px;
  color: var(--success);
}

.ll-indscn__card .ll-card__link { margin-top: auto; padding-top: 16px; }

/* ── Capabilities — borderless numbered grid, divided by hairlines ──────── */

.ll-indcaps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.ll-indcap {
  position: relative;
  padding: 32px;
  border-right: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ll-indcap:nth-child(3n) { border-right: 0; }
.ll-indcap:nth-last-child(-n + 3) { border-bottom: 0; }

.ll-indcap__num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--ll-font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-300);
  font-variant-numeric: tabular-nums;
}

.ll-indcap__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: 16px;
}
.ll-indcap__icon svg { width: 24px; height: 24px; }

.ll-indcap__title {
  font-family: var(--ll-font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--slate-900);
  margin: 0 0 8px;
}

.ll-indcap__text {
  font-family: var(--ll-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate-600);
  margin: 0 0 12px;
}

.ll-indcap .ll-card__link { margin-top: auto; }

/* ── Security & compliance band (ink) ───────────────────────────────────── */

.ll-indsec {
  background: var(--ink-900);
  padding: 96px 0;
}

.ll-indsec__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start;
}

.ll-indsec__copy { position: sticky; top: 100px; }

.ll-indsec .ll-section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  text-wrap: balance;
}

.ll-indsec__sub {
  font-family: var(--ll-font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-text);
  margin: 0 0 24px;
}

.ll-indsec__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  background: var(--ink-800);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--ll-font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-text-muted);
}

.ll-indsec__noteicon { display: inline-flex; flex: none; color: var(--brand-300); margin-top: 2px; }
.ll-indsec__noteicon svg { width: 18px; height: 18px; }

.ll-indsec__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ll-indsec__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--ink-800);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.ll-indsec__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: rgba(143, 206, 226, 0.14);
  color: var(--brand-300);
}
.ll-indsec__icon svg { width: 20px; height: 20px; }

.ll-indsec__title {
  font-family: var(--ll-font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.ll-indsec__text {
  font-family: var(--ll-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-text);
  margin: 0;
}

/* ── Rollout steps ──────────────────────────────────────────────────────── */

.ll-indroll {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: none;
}

.ll-indroll__step {
  position: relative;
  padding-top: 64px;
}

/* Connector line between the numbered markers. */
.ll-indroll__step::before {
  content: '';
  position: absolute;
  top: 23px;
  left: 56px;
  right: -24px;
  height: 2px;
  background: var(--slate-200);
}
.ll-indroll__step:last-child::before { display: none; }

.ll-indroll__num {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-family: var(--ll-font-heading);
  font-size: 18px;
  font-weight: 800;
}

.ll-indroll__title {
  font-family: var(--ll-font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--slate-900);
  margin: 0 0 8px;
}

.ll-indroll__text {
  font-family: var(--ll-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate-600);
  margin: 0 0 12px;
}

.ll-indroll__time {
  display: inline-block;
  font-family: var(--ll-font-ui);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-800);
  background: var(--brand-100);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ── Other industries ───────────────────────────────────────────────────── */

.ll-indsib {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ll-indsib__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.ll-indsib__card:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); }
.ll-indsib__card:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 2px; }

.ll-indsib__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
}
.ll-indsib__icon svg { width: 22px; height: 22px; }

.ll-indsib__body { min-width: 0; flex: 1; }

.ll-indsib__body b {
  display: block;
  font-family: var(--ll-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.ll-indsib__body span {
  display: block;
  font-family: var(--ll-font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--slate-600);
}

.ll-indsib__arrow { display: inline-flex; flex: none; color: var(--brand-600); }
.ll-indsib__arrow svg { width: 18px; height: 18px; }

.ll-indguide {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 32px 0 0;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  font-family: var(--ll-font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--slate-600);
}

.ll-indguide__label {
  font-family: var(--ll-font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.ll-indguide a { color: var(--brand-600); font-weight: 700; text-decoration: none; }
.ll-indguide a:hover { color: var(--brand-700); text-decoration: underline; }
.ll-indguide__text { flex-basis: 100%; font-size: 14.5px; }

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .ll-indanswer__grid,
  .ll-indsec__grid { grid-template-columns: 1fr; gap: 40px; }
  .ll-indfacts,
  .ll-indsec__copy { position: static; }
  .ll-indcaps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ll-indcap:nth-child(3n) { border-right: 1px solid var(--slate-200); }
  .ll-indcap:nth-child(2n) { border-right: 0; }
  .ll-indcap:nth-last-child(-n + 3) { border-bottom: 1px solid var(--slate-200); }
  .ll-indcap:nth-last-child(-n + 2) { border-bottom: 0; }
  .ll-indsib { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ll-indteams { grid-template-columns: 1fr; }
  .ll-indroll { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .ll-indroll__step:nth-child(2n)::before { display: none; }
}

@media (max-width: 767px) {
  .ll-indsec { padding: 64px 0; }
  .ll-indscn,
  .ll-indsib { grid-template-columns: 1fr; }
  .ll-indscn__card { padding: 24px; }

  .ll-indboard__kpi { padding: 12px; }
  .ll-indboard__kpi b { font-size: 21px; }
  .ll-indboard__row { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; }
  .ll-indboard__icon { width: 36px; height: 36px; }
  .ll-indboard__policy { display: none; }

  .ll-indanswer__a { font-size: 17.5px; padding-left: 16px; }

  /* Table → stacked cards: each cell carries its column name. */
  .ll-indtable__wrap { border: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .ll-indtable,
  .ll-indtable tbody,
  .ll-indtable tr,
  .ll-indtable th,
  .ll-indtable td { display: block; width: auto; }
  .ll-indtable thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .ll-indtable tr {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    overflow: hidden;
  }
  .ll-indtable tbody th,
  .ll-indtable td { width: auto; padding: 16px; border-bottom: 1px solid var(--slate-200); }
  .ll-indtable tbody tr td:last-child { border-bottom: 0; }
  .ll-indtable tbody tr:last-child th,
  .ll-indtable tbody tr:last-child td:not(:last-child) { border-bottom: 1px solid var(--slate-200); }
  .ll-indtable td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--ll-font-ui);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 4px;
  }

  .ll-indtable--checklist td.is-yes { display: block; }
  .ll-indteam { padding: 24px; }

  .ll-indcaps { grid-template-columns: 1fr; }
  .ll-indcap { padding: 24px; border-right: 0 !important; border-bottom: 1px solid var(--slate-200) !important; }
  .ll-indcap:last-child { border-bottom: 0 !important; }

  .ll-indroll { grid-template-columns: 1fr; gap: 0; }
  .ll-indroll__step { padding: 0 0 32px 64px; min-height: 48px; }
  .ll-indroll__step:last-child { padding-bottom: 0; }
  .ll-indroll__step::before,
  .ll-indroll__step:nth-child(2n)::before {
    display: block;
    top: 48px;
    bottom: 0;
    left: 23px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .ll-indroll__step:last-child::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ll-indscn__card,
  .ll-indsib__card { transition: none; }
}

.ll-retail-jumps { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 16px; }
.ll-retail-jumps a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.ll-retail-jumps ~ section[id] { scroll-margin-top: 90px; }

/* Retail landing hero */
.retail-hero { background: var(--slate-50); color: var(--ink-900); padding: clamp(48px, 7vw, 108px) 0; }
.retail-hero__layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(28px, 5vw, 76px); }
.retail-hero__category, .retail-hero__terms, .retail-scene figcaption, .retail-log time { font-family: var(--ll-font-ui), sans-serif; }
.retail-hero__category { line-height: 1.2; font-size: 15px; font-weight: 700; margin: 0 0 18px; color: var(--brand-700); }
.retail-hero__headline { font-family: var(--ll-font-body); font-size: clamp(48px, 5.6vw, 88px); font-weight: 650; line-height: 1.01; letter-spacing: -.065em; color: inherit; margin: 0; }
.retail-hero__headline em { color: var(--brand-700); font-family: Georgia, serif; font-weight: 400; white-space: nowrap; }
.retail-hero__intro { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; margin: 23px 0 28px; color: var(--slate-600); max-width: 44ch; }
.retail-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 23px; }
.retail-hero__actions a + a { color: var(--brand-700); font-weight: 650; padding-block: 12px; text-decoration: underline; text-underline-offset: 4px; }
.retail-hero__terms { margin: 12px 0 0; color: var(--slate-600); font-size: 13px; }
.retail-scene { margin: 0; background: var(--ink-900); border-radius: 18px; overflow: hidden; color: #fff; }
.retail-scene figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; padding: 16px 22px; color: var(--ink-text); border-bottom: 1px solid var(--brand-800); font-size: 13px; }
.retail-scene figcaption span { color: var(--ink-text-muted); }
.retail-scene__workspace { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(14px, 2vw, 32px); padding: clamp(24px, 3.4vw, 54px) clamp(16px, 2.5vw, 40px); background: radial-gradient(ellipse at 16% 40%, var(--brand-800), transparent 70%); }
.retail-terminal { width: 100%; max-width: 190px; justify-self: center; border: 3px solid var(--slate-500); border-radius: 20px; background: var(--slate-900); padding: 12px; transform: rotate(-5deg); box-shadow: 4px 9px 0 var(--footer-ink), 0 18px 20px var(--ink-900); }
.retail-terminal__screen { display: grid; gap: 8px; padding: 15px 9px; background: var(--brand-50); color: var(--ink-900); border-radius: 7px; }
.retail-terminal__screen small, .retail-log time { font: 11px/1.3 monospace; }
.retail-terminal__screen span { font-size: 12px; color: var(--warning-text); }
.retail-terminal__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 12px; }
.retail-terminal__keys i { color: var(--slate-50); background: var(--slate-600); border-radius: 4px; text-align: center; font: 13px/1.6 monospace; }
.retail-terminal__keys i:last-child { background: var(--slate-500); }
.retail-log h2 { color: white; font-size: clamp(18px, 2vw, 25px); margin: 0 0 16px; }
.retail-log ol { list-style: none; margin: 0; padding: 0; }
.retail-log li { display: grid; padding: 9px 0 10px 14px; border-left: 2px solid var(--brand-300); }
.retail-log li:first-child { border-color: var(--warning); }
.retail-log time, .retail-log li span { color: var(--ink-text-muted); }
.retail-log li b { margin: 3px 0; font-size: 15px; line-height: 1.3; }
.retail-log li span { font-size: 12px; }
@media (max-width: 800px) {
  .retail-hero__layout { grid-template-columns: 1fr; }
  .retail-scene { max-width: 580px; width: 100%; }
}

.retail-log li:nth-child(2) { border-color: var(--success); }
.retail-page .ll-title-hl { color: var(--brand-700); font: italic 400 1em/1 Georgia, serif; }
.retail-page .ll-section-head { text-align: left; margin-inline: 0; max-width: 68ch; }
.retail-page .ll-section-sub { margin-inline: 0; }
.retail-page .ll-retail-jumps { border-bottom: 1px solid var(--slate-200); }
.retail-page .ll-indscn { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 5%; }
.retail-page .ll-indscn__card { border: 0; border-top: 2px solid var(--brand-100); box-shadow: none; border-radius: 0; padding: 28px 0; background: transparent; }
.retail-page .ll-indscn__card:hover { box-shadow: none; }
.retail-page #checklist { background: var(--brand-50); }
.retail-pilot { margin: 24px 0; border: 0; padding: 0; min-width: 0; }
.retail-pilot legend { font-weight: 650; padding: 0 0 12px; color: var(--brand-800); }
.retail-pilot label { display: flex; align-items: flex-start; gap: 18px; border-top: 1px solid var(--slate-300); padding: 16px 0; cursor: pointer; line-height: 1.5; color: var(--slate-600); }
.retail-pilot label strong { display: block; color: var(--ink-900); }
.retail-pilot input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand-700); }
.retail-reading { display: grid; grid-template-columns: 1fr 1fr; gap: 0 6%; align-items: center; padding-block: clamp(36px,6vw,82px); }
.retail-reading h2 { grid-row: span 3; color: var(--ink-900); }
.retail-reading a { border-bottom: 1px solid var(--slate-200); color: var(--brand-700); padding-block: 14px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) {
  .retail-page .ll-indscn, .retail-reading { grid-template-columns: 1fr; }
  .retail-reading h2 { grid-row: auto; }
}

.retail-page :is(summary, input, a):focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.retail-brief, .retail-close > div { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(24px,6vw,90px); padding-block: clamp(44px,6vw,90px); }
.retail-brief h2, .retail-reading h2, .retail-close h2 { margin: 0; font: 650 clamp(32px,4vw,62px)/1.07 var(--ll-font-heading); letter-spacing: -.05em; }
.retail-page :is(.retail-brief,.retail-reading,.retail-close) em { font-family: Georgia, serif; font-weight: 400; }
.retail-brief p, .retail-close p { font-size: clamp(17px,1.4vw,20px); line-height: 1.65; margin: 0 0 14px; }
.retail-page #devices { background: var(--slate-50); }
.retail-profiles { background: white; border-block: 1px solid var(--slate-300); }
.retail-profiles details + details { border-top: 1px solid var(--slate-200); }
.retail-profiles summary { display: grid; grid-template-columns: 32px 1fr auto 18px; align-items: center; gap: 16px; padding: 20px; cursor: pointer; color: var(--ink-900); }
.retail-profiles summary::-webkit-details-marker { display: none; }
.retail-profiles summary::after { content: ''; width: 9px; height: 9px; border: solid var(--brand-700); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.retail-profiles details[open] summary::after { transform: rotate(225deg); }
.retail-profiles summary strong { font-size: clamp(17px,1.65vw,24px); }
.retail-profile-icon svg { width: 26px; height: 26px; color: var(--brand-700); }
.retail-profile-mode { font-size: 14px; color: var(--slate-600); }
.retail-profile-body { padding: 0 22px 24px 68px; max-width: 76ch; color: var(--slate-600); }
/* Reading copy shares one responsive scale throughout the retail page. */
.retail-page {
  --retail-body-size: clamp(1rem, 1.5vw, 1.125rem);
  --retail-heading-size: clamp(2rem, 4vw, 3rem);
  --retail-subheading-size: clamp(1.125rem, 1.7vw, 1.375rem);
}
.retail-page .ll-container > p:not([class]),
.retail-page :is(.retail-brief p, .retail-close p, .ll-section-sub, .retail-profile-body,
  .retail-profile-body p, .retail-profile-body li, .ll-indsec__sub, .ll-indsec__text,
  .ll-indsec__note, .retail-pilot label, .ll-indroll__text, .ll-faq__answer,
  .retail-reading a, .retail-brief a) {
  font: 400 var(--retail-body-size)/1.7 var(--ll-font-body);
}
.retail-page .ll-container > p:not([class]) {
  max-width: 70ch;
  margin: .75em 0 0;
  color: var(--slate-600);
}
.retail-page .ll-container > p:not([class]) a,
.retail-page .retail-profile-body a {
  font: inherit;
}
.retail-page a:not(.ll-btn-primary, .ll-btn-outline) {
  color: var(--retail-link-color, var(--brand-700));
  text-decoration: underline;
  text-underline-offset: .17em;
}
.retail-page :is(.ll-section-title, .retail-brief h2, .retail-reading h2, .retail-close h2) {
  font-size: var(--retail-heading-size);
  font-weight: 650;
  line-height: 1.12;
}
.retail-page :is(.ll-container > h3, .ll-indroll__title, .ll-indsec__title, .retail-profiles summary strong) {
  font-size: var(--retail-subheading-size);
  font-weight: 650;
  line-height: 1.35;
}
.retail-page .retail-log h2 { line-height: 1.25; }
.retail-page .ll-faq__question, .retail-page .retail-pilot legend {
  font-size: var(--retail-body-size);
  font-weight: 600;
  line-height: 1.45;
}
.retail-page .retail-hero__actions a + a, .retail-page .retail-close-actions a + a {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}
.retail-profile-body li + li { margin-top: 4px; }
.retail-profile-body ul { list-style: disc; padding-left: 20px; margin: 12px 0; }
.retail-page #security { background: var(--ink-900); }
.retail-page .ll-indsec__item { background: transparent; border: 0; border-top: 1px solid var(--brand-800); border-radius: 0; }
.retail-page .retail-reading h2 { grid-row: span 4; }
.retail-page .ll-faq__item { border-radius: 0; box-shadow: none; border: 0; border-bottom: 1px solid var(--slate-300); }
.retail-close { --retail-link-color: var(--brand-300); background: var(--ink-900); color: var(--ink-text); }
.retail-close h2 { color: white; }
.retail-close-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

@media (min-width: 900px) {
  .retail-page :is(#checklist,#faq) > .ll-container { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: start; gap: 16px 7%; }
  .retail-page :is(#checklist,#faq) .ll-section-head { grid-column: 1; grid-row: 1 / span 3; }
  .retail-page #checklist > .ll-container > :not(.ll-section-head), .retail-page #faq .ll-faq__list { grid-column: 2; margin: 0; width: 100%; }
}
@media (max-width: 700px) {
  .retail-brief, .retail-close > div { grid-template-columns: 1fr; }
  .retail-profiles summary { grid-template-columns: 24px 1fr 12px; gap: 4px 12px; padding: 16px 12px; }
  .retail-profile-mode { grid-column: 2; }
  .retail-profiles summary::after { grid-column: 3; grid-row: 1; }
  .retail-profile-body { padding: 0 16px 20px; }
  .retail-page .retail-reading h2 { grid-row: auto; }
}
