/* ==================== Products hero ==================== */
.products-hero { padding: 70px 0 30px; text-align: center; }
.products-hero .container { max-width: 720px; }
.products-hero .lead { font-size: 1.1rem; color: var(--ink-soft); margin: 0 auto; }

/* ==================== Comparison table ==================== */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
table.compare th, table.compare td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.compare thead th {
  font-family: var(--font-display);
  font-size: 1.02rem;
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line-strong);
}
table.compare thead th.row-label-head { background: var(--surface); }
table.compare thead .tier-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 2px;
}
table.compare td.feature-name { font-weight: 500; color: var(--ink); font-size: 0.94rem; }
table.compare td.feature-name span.sub {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 2px;
}
table.compare td.cell { text-align: center; }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare tbody tr:hover { background: var(--paper-alt); }

.chk { color: var(--green-deep); }
.chk svg { width: 20px; height: 20px; }
.dash { color: var(--line-strong); font-size: 1.1rem; }
.col-pro { background: var(--pink-tint); }
thead th.col-pro { background: #fbcfe4; }

/* ==================== Tier detail cards ==================== */
.tier-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tier-detail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.tier-detail.pro { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink); }
.tier-detail .tier-name { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 8px; }
.tier-detail .price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}
.tier-detail .price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--ink-900); }
.tier-detail .price-unit { font-size: 0.8rem; color: var(--ink-faint); }
.tier-detail .enclosure-note {
  font-size: 0.78rem;
  color: var(--blue-deep);
  font-family: var(--font-mono);
  margin-bottom: 14px;
}
.tier-detail h3 { margin-bottom: 12px; }
.tier-detail p.fit { font-size: 0.92rem; margin-bottom: 20px; }
.tier-detail .use-for { font-size: 0.82rem; font-family: var(--font-mono); color: var(--ink-faint); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.tier-detail ul.examples { list-style: none; margin: 0; padding: 0; font-size: 0.88rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; }
.tier-detail ul.examples li::before { content: "—"; margin-right: 8px; color: var(--ink-faint); }
.tier-detail .buy-btn { margin-top: 22px; width: 100%; }

/* ==================== Cue example ==================== */
.cue-example {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 34px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 24px;
}
.cue-example h4 { margin-bottom: 10px; }
.cue-example p { font-size: 0.94rem; margin-bottom: 0; }
.cue-timeline {
  background: var(--paper-alt);
  border-radius: var(--radius-md);
  padding: 30px 26px 22px;
}
.cue-bar {
  position: relative;
  height: 10px;
  background: var(--line-strong);
  border-radius: 999px;
  margin: 30px 6px 14px;
}
.cue-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 38%;
  background: var(--blue);
  border-radius: 999px;
}
.cue-marker {
  position: absolute;
  left: 38%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--pink);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--pink);
}
.cue-marker-label {
  position: absolute;
  left: 38%;
  top: -30px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--ink-900);
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.cue-endpoints {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.cue-result {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 10px 14px;
}
@media (max-width: 800px) {
  .cue-example { grid-template-columns: 1fr; }
}

/* ==================== Board reference strip ==================== */
.board-reference {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-bottom: 32px;
}
.board-reference img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
}
.board-reference p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.board-reference strong { color: var(--ink); }
@media (max-width: 560px) {
  .board-reference { flex-direction: column; align-items: flex-start; }
}

/* ==================== Enclosure spotlight ==================== */
.enclosure-spotlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 32px;
}
.enclosure-spotlight .photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper-deep);
}
.enclosure-spotlight .photo img { width: 100%; display: block; }
.enclosure-spotlight h3 { margin-bottom: 10px; }
.enclosure-spotlight p { font-size: 0.94rem; }
.enclosure-spotlight .add-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blue-deep);
  background: var(--blue-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-top: 6px;
}
@media (max-width: 800px) {
  .enclosure-spotlight { grid-template-columns: 1fr; }
}

/* ==================== Note callout ==================== */
.note-callout {
  display: flex;
  gap: 16px;
  background: var(--blue-tint);
  border: 1px solid #cfe9ff;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-top: 40px;
}
.note-callout .icon-tile { flex-shrink: 0; }
.note-callout p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.note-callout strong { color: var(--ink); }

@media (max-width: 940px) {
  .tier-detail-grid { grid-template-columns: 1fr; }
}
