/* Extra landing parts for /pricing/ and /dgx-spark/. Load after landing.css.
 * .lx-catalog restyles the generated rental catalog (sync-rentals.py) into
 * hairline bands without touching its markup. */

/* ---- generated rental catalog as full-width bands ---- */
.lx-catalog { width: 100vw; margin-left: calc(50% - 50vw); }
.lx-catalog > .rental-section { margin: 0; padding: 96px max(24px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--border); scroll-margin-top: 80px; }
.lx-catalog .rental-section-head { align-items: flex-end; }
.lx-catalog .rental-eyebrow { font-size: 12.5px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.lx-catalog .rental-section h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; margin: 0; text-wrap: balance; }
.lx-catalog .rental-section-head > a { color: var(--accent); font-weight: 600; white-space: nowrap; }
.lx-catalog .rental-intro { font-size: clamp(16px, 1.5vw, 18px); max-width: 62ch; margin: 18px 0 36px; }
.lx-catalog .rental-table-wrap { border: 0; border-radius: 0; border-top: 1px solid var(--border-hi); overflow: visible; }
.lx-catalog .rental-table thead th { background: transparent; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.lx-catalog .rental-table th, .lx-catalog .rental-table td { padding-left: 0; padding-right: 16px; }
.lx-catalog .rental-table td:last-child { padding-right: 0; }
.lx-catalog .rental-table tbody tr:last-child > * { border-bottom: 1px solid var(--border); }
.lx-catalog .rental-table tbody tr:hover { background: transparent; }
.lx-catalog .rental-table tbody th { font-size: 19px; letter-spacing: -0.01em; }
.lx-catalog .rental-table td strong { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.03em; }
.lx-catalog .rental-terms { border: 0; border-radius: 0; border-top: 1px solid var(--border-hi); overflow: visible; }
.lx-catalog .rental-terms a { padding: 28px 24px 28px 0; border-right: 0; border-left: 1px solid var(--border); padding-left: 24px; gap: 14px; }
.lx-catalog .rental-terms a:first-child { border-left: 0; padding-left: 0; }
.lx-catalog .rental-terms a:hover { background: transparent; }
.lx-catalog .rental-terms a:hover strong { color: var(--accent); }
.lx-catalog .rental-terms a > span:first-child { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.lx-catalog .rental-terms strong { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; transition: color 0.3s; }
.lx-catalog .rental-terms em { font-style: normal; font-size: 14px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.lx-catalog .rental-term-link { color: var(--accent); }
.lx-catalog .rental-quote { border: 0; border-radius: 0; border-bottom: 1px solid var(--border); padding: 36px 0; margin-top: 24px; }
.lx-catalog .rental-quote h3 { font-size: 24px; letter-spacing: -0.02em; }
.lx-catalog .rental-note { font-size: 13.5px; }

/* ---- small parts ---- */
.lx-figures-compact .lx-figure b { font-size: clamp(40px, 4.6vw, 66px); }
.lx-figures-compact .lx-figure b small { font-size: 0.36em; }
.lx-warn b { color: var(--text); }
.lx-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; font-size: 15px; }
.lx-links a { color: var(--accent); font-weight: 600; }
.lx-band-cta { margin: 44px 0 0; }
.lx-title-wide { max-width: 24ch; }
.lx-lede code, .lx-faq-list code { font-size: 0.9em; }

/* ---- tables ---- */
.lx-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 8px; }
.lx-table-scroll .lx-table { min-width: 720px; }
.lx-table-scroll tbody th { white-space: nowrap; }
.lx-table tbody th { font-weight: 600; }
.lx-spec-table { border-top: 1px solid var(--border-hi); }
.lx-spec-table caption { text-align: left; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); padding-bottom: 14px; }
.lx-spec-table th { color: var(--text-dim); font-weight: 500; width: 40%; }
.lx-spec-table td { font-weight: 600; }

/* ---- note rows: two columns only ---- */
.lx-rows-notes { margin-top: 56px; }
.lx-rows-notes .lx-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); }
.lx-rows-notes .lx-row h3 { font-size: 18.5px; }

/* ---- site index: link columns on hairlines ---- */
.lx-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 40px; }
.lx-index-col { border-top: 1px solid var(--border-hi); padding-top: 22px; }
.lx-index-col h3 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 14px; }
.lx-index-col ul { list-style: none; margin: 0; padding: 0; }
.lx-index-col li { margin: 0; }
.lx-index-col a { display: block; padding: 6px 0; color: var(--text); font-size: 14.5px; }
.lx-index-col a:hover { color: var(--accent); }

@media (max-width: 960px) {
  .lx-catalog > .rental-section { padding-top: 76px; padding-bottom: 76px; }
  .lx-catalog .rental-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lx-catalog .rental-terms a { border-bottom: 1px solid var(--border); }
  .lx-catalog .rental-terms a:nth-child(4) { border-left: 0; padding-left: 0; }
  .lx-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-rows-notes .lx-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .lx-catalog .rental-section-head { align-items: flex-start; }
  .lx-catalog .rental-table tr { padding: 22px 0; border-bottom: 1px solid var(--border); }
  .lx-catalog .rental-table tbody tr:last-child > * { border-bottom: 0; }
  .lx-catalog .rental-terms { grid-template-columns: 1fr 1fr; }
  .lx-catalog .rental-terms a, .lx-catalog .rental-terms a:nth-child(4) { border-left: 0; padding: 22px 16px 22px 0; }
  .lx-catalog .rental-terms a:nth-child(odd):not(:first-child) { border-left: 1px solid var(--border); padding-left: 16px; }
  .lx-catalog .rental-table td { align-items: baseline; }
  .lx-catalog .rental-terms a:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .lx-catalog > .rental-section { padding-left: 16px; padding-right: 16px; }
  .lx-index { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- rows with a fixed meta column, so every row lines up ---- */
.lx-rows-meta .lx-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) var(--lx-meta, 190px); }
.lx-rows-meta .lx-row-meta { text-align: right; white-space: normal; }
.lx-rows-dense .lx-row { padding: 22px 0; }
.lx-rows-dense .lx-row h3 { font-size: 18.5px; }
.lx-rows-flush { margin-top: 0; }
.lx-row p .lx-more { white-space: normal; }
.lx-band .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 960px) {
  .lx-rows-meta .lx-row { grid-template-columns: 1fr; }
  .lx-rows-meta .lx-row-meta { text-align: left; }
}
.lx-hero .lx-sub, .lx-lede, .lx-fine, .lx-finale p { text-wrap: pretty; }

/* the first top-up offer under the hero sub-copy */
.lx-hero .lx-offer { margin: -6px auto 22px; font-size: 16px; color: var(--text); }
.lx-hero .lx-offer b { color: var(--accent); font-weight: 700; }
