.lp-hue-good { --hue: var(--good); --hue-bg: var(--sev-good-bg); }
.lp-hue-warn { --hue: var(--warn); --hue-bg: var(--sev-warn-bg); }
.lp-hue-bad  { --hue: var(--bad);  --hue-bg: var(--sev-bad-bg); }
.lp-hue-dead { --hue: var(--dead); --hue-bg: var(--sev-dead-bg); }

.lp-band {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.lp-h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--text);
  text-wrap: pretty;
}

.lp-h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--text);
}

.lp-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}

.lp-intro {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--t5);
  max-width: 640px;
  text-wrap: pretty;
}

.lp-section-head {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

/* -------------------------------------------------------------- buttons -- */

.lp-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.lp-cta {
  height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-on);
  white-space: nowrap;
}

.lp-cta:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--brand-on); }

.lp-cta-ghost {
  padding: 0 16px;
  background: transparent;
  border-color: var(--edge2);
  font-weight: 400;
  color: var(--t3);
}

.lp-cta-ghost:hover { background: transparent; border-color: var(--edge3); color: var(--text); }

/* ----------------------------------------------------------------- hero -- */

.lp-hero-band {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.lp-hero {
  padding: 64px 20px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 44px;
  align-items: center;
}

.lp-hero.solo { grid-template-columns: minmax(0, 1fr); }

.lp-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.lp-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--t4);
  max-width: 520px;
}

.lp-ctas { padding-top: 4px; }

.lp-reassure {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--t8);
}

/* ------------------------------------------------------- the sample card -- */

.lp-example {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-example-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t8);
}

.lp-example-caption {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--t8);
  text-wrap: pretty;
}

.lp-card {
  background: var(--panel);
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.lp-card:hover { border-color: var(--edge2); }

.lp-card-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.lp-card-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.lp-card-titles {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  min-width: 0;
}

.lp-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.lp-card-wear {
  font-size: 11px;
  color: var(--t7);
}

.lp-card-signal {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 3px 8px;
  border-radius: 99px;
  align-self: flex-start;
  color: var(--hue);
  background: var(--hue-bg);
}

.lp-card-headline {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text2);
  text-wrap: pretty;
}

.lp-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.lp-card-spark {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding-top: 2px;
}

.lp-card-chart {
  flex: 1;
  min-width: 0;
}

.lp-card-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
}

.lp-card-metric-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--hue);
}

.lp-card-metric-caption {
  font-size: 9.5px;
  color: var(--t8);
}

/* -------------------------------------------------------------- signals -- */

.lp-band.lp-section-head { padding-top: 52px; gap: 8px; }

.lp-band.lp-signals {
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lp-band.lp-block {
  padding-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lp-signal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--hue);
  border-radius: 9px;
  padding: 17px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.lp-signal-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.lp-signal-formula {
  font-size: 11.5px;
  color: var(--hue);
  background: var(--hue-bg);
  border-radius: 4px;
  padding: 5px 8px;
  align-self: flex-start;
}

.lp-signal-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--t4);
  text-wrap: pretty;
}

.lp-signal-trigger {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--t6);
  border-top: 1px solid var(--line);
  padding-top: 9px;
  text-wrap: pretty;
}

.lp-fires {
  color: var(--hue);
  font-weight: 600;
}

/* -------------------------------------------------------- hairline grids -- */

.lp-hairgrid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.lp-zones { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.lp-zone {
  background: var(--panel);
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lp-zone-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.lp-zone-name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--hue);
}

.lp-zone-range {
  font-size: 11px;
  color: var(--t7);
}

.lp-zone-bar {
  height: 4px;
  border-radius: 99px;
  background: var(--hue);
  display: block;
}

.lp-hue-dead .lp-zone-bar { width: 18%; }
.lp-hue-good .lp-zone-bar { width: 38%; }
.lp-hue-warn .lp-zone-bar { width: 68%; }
.lp-hue-bad  .lp-zone-bar { width: 100%; }

.lp-zone-body {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--t5);
  text-wrap: pretty;
}

/* ---------------------------------------------------------------- tools -- */

.lp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.lp-tool {
  background: var(--panel);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.lp-tool:hover { background: var(--hover); }

.lp-tool:last-child { grid-column: 1 / -1; }

.lp-tool-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  padding-top: 2px;
  flex: none;
}

.lp-tool-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.lp-tool-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.lp-tool-body {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--t5);
  text-wrap: pretty;
}

/* --------------------------------------------------------------- limits -- */

.lp-limits {
  background: var(--raised);
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.lp-limits-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.lp-limits-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 26px;
}

.lp-limit {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.lp-limit-dash {
  color: var(--t8);
  font-size: 13px;
  line-height: 1.5;
  flex: none;
}

.lp-limit-body {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--t5);
  text-wrap: pretty;
}

/* -------------------------------------------------------------- closing -- */

.lp-band.lp-closing {
  padding: 44px 20px 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.lp-closing-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 240px;
}

.lp-closing-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.lp-closing-body {
  font-size: 12.5px;
  color: var(--t6);
}

/* ------------------------------------------------------------ responsive -- */

@media (max-width: 900px) {
  .lp-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 44px;
    gap: 32px;
  }

  .lp-h1 { font-size: 34px; }

  .lp-band.lp-signals { grid-template-columns: minmax(0, 1fr); }

  .lp-tools { grid-template-columns: minmax(0, 1fr); }
}
