/* Home (/) and /gpus/ additions to landing.css. Load after landing.css. */

/* a small label above a row title, and the actions under a band */
.lx-row-tag { display: block; font-size: 12.5px; color: var(--text-dim); margin-bottom: 8px; }
.lx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.lx-actions .lx-fine-inline, .lx-figure .lx-fine-inline { font-size: 13px; color: var(--text-dim); }
.lx-fine-inline a { color: var(--accent); }
.lx-figure .btn { margin-top: 24px; }
.lx-figure .lx-fine-inline { display: block; margin-top: 14px; max-width: 40ch; }
.lx-figures + .lx-actions { margin-top: 48px; }
.lx-band .lx-title + .lx-lede:last-child { margin-bottom: 0; }

/* a spec list beside the figures */
.lx-specs { margin: 48px 0 0; border-top: 1px solid var(--border-hi); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.lx-specs > div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.lx-specs dt { color: var(--text-dim); }
.lx-specs dd { margin: 0; text-align: right; }

/* the split's right-hand side: one large figure with its copy */
.lx-split-body .lx-figure { padding: 0; border: 0; }
.lx-split-body h3 { font-size: 21px; font-weight: 600; margin: 0 0 10px; }
.lx-split-body p { color: var(--text-dim); font-size: 15.5px; margin: 0 0 14px; max-width: 60ch; }
.lx-split-body p a, .lx-split-body > a:not(.btn) { color: var(--accent); }
.lx-split-body .btn { margin-top: 12px; }

/* /gpus/: the generated hardware catalog (sync-rentals.py) on hairlines */
.lx-catalog .land-section.rental-section { margin-top: 0; }
.lx-catalog .rental-section + .rental-section { margin-top: 88px; padding-top: 88px; border-top: 1px solid var(--border); }
.lx-catalog .rental-eyebrow { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 400; margin-bottom: 14px; }
.lx-catalog .rental-section h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; }
@media (min-width: 681px) { .lx-catalog .rental-section-head { align-items: flex-end; } }
.lx-catalog .rental-section-head > a { color: var(--accent); font-weight: 600; }
.lx-catalog .rental-intro { font-size: 16.5px; max-width: 64ch; }
.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; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; font-size: 12px; border-bottom-color: var(--border-hi); }
.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 td strong { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.lx-catalog .rental-table th, .lx-catalog .rental-table td { padding-left: 0; }
.lx-catalog .rental-quote { border: 0; border-radius: 0; border-top: 1px solid var(--border); padding: 32px 0 0; margin-top: 48px; }
.lx-catalog .rental-quote h2, .lx-catalog .rental-quote h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.025em; }
.lx-catalog .hardware-fit-grid { gap: 0; }
.lx-catalog .hardware-fit-grid > div { padding: 22px 32px 0 0; }
.lx-catalog .hardware-fit-grid > div + div { padding-left: 32px; border-left: 1px solid var(--border); }

@media (max-width: 960px) {
  .lx-specs { grid-template-columns: 1fr; }
  .lx-catalog .hardware-fit-grid > div + div { padding-left: 0; border-left: 0; }
}
@media (max-width: 680px) {
  .lx-catalog .rental-section + .rental-section { margin-top: 56px; padding-top: 56px; }
  .lx-catalog .rental-table tr { padding: 22px 0; }
  .lx-catalog .rental-table tbody tr:last-child > * { border-bottom: 0; }
  .lx-catalog .rental-quote { padding: 28px 0 0; }
}

/* fixes after review */
.lx-nowrap { white-space: nowrap; }
.lx-title + .lx-figures, .lx-lede + .lx-figures { margin-top: 56px; }
.lx-figures-wide .lx-figure p, .lx-figures-wide .lx-figure .lx-fine-inline { max-width: 50ch; }
.lx-rows .lx-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) 15rem; align-items: center; }
.lx-rows .lx-row > :last-child { justify-self: end; }
.lx-split-body .lx-fine { margin-top: 28px; }
.lx-faq-list .lx-fine { border-top: 0; margin-top: 24px; padding-top: 0; }
.lx-faq-list .lx-fine + .lx-fine { margin-top: 10px; }
.lx-finale .lx-kicker { color: var(--accent); font-size: 12.5px; margin: 0 auto 18px; }
.lx-finale p.lx-finale-fine { font-size: 13.5px; margin-top: -14px; }
@media (max-width: 960px) {
  .lx-rows .lx-row { grid-template-columns: 1fr; align-items: start; }
  .lx-rows .lx-row > :last-child { justify-self: start; }
}
.lx-catalog #long-term .rental-quote { border-top: 0; padding-top: 0; margin-top: 0; }
.lx-catalog #long-term .rental-quote h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 14px; }
.lx-catalog #long-term .rental-quote p { font-size: 16px; max-width: 60ch; }
.lx-catalog .rental-table-secondary tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 680px) {
  .lx-catalog .rental-table td { align-items: baseline; }
  .lx-catalog .rental-table td strong { font-size: 24px; }
}

/* action row: a button with links beside it, no extra offsets */
.lx-actions .btn, .lx-split-body .lx-actions .btn { margin-top: 0; }
.lx-split-body .lx-actions { margin-top: 28px; }
/* rental plans: a figure, a line of copy, then the terms as a hairline list */
.lx-plans .lx-figure { display: flex; flex-direction: column; align-items: flex-start; }
.lx-plans .lx-figure > p { margin: 0; }
.lx-terms { width: 100%; max-width: 440px; margin: 26px 0 0; border-top: 1px solid var(--border-hi); }
.lx-terms > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.lx-terms dt { color: var(--text-dim); }
.lx-terms dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.lx-plans .lx-figure .btn { margin-top: 28px; }
.lx-terms span { display: inline; font-size: inherit; color: inherit; max-width: none; }
.lx-terms dd { white-space: nowrap; }
@media (max-width: 760px) {
  .lx-plans { grid-template-columns: 1fr; row-gap: 64px; }
  .lx-plans .lx-figure, .lx-plans .lx-figure:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* the first top-up offer, between the hero price and its sub-copy */
.lx-hero .lx-offer { margin: -8px auto 18px; font-size: 16px; color: var(--text); }
.lx-hero .lx-offer b { color: var(--accent); font-weight: 700; }
/* a caption under the split's large figure */
.lx-split-body .lx-figure h3 { font-size: 15px; font-weight: 600; color: var(--text-dim); margin: 8px 0 0; }

/* The home hero is an Apple-style stack: a large headline, one line of price
   and offer, the action, then a band of large spec figures (as on /buy-spark/).
   There is no product photo: the only one on the site is Lenovo's PGX. */
.lx-hero.lx-hero-compact { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 73px); min-height: calc(100svh - 73px); padding: 48px max(24px, calc((100vw - 1180px) / 2)) 56px; box-sizing: border-box; }
.lx-hero-compact .lx-eyebrow { margin-bottom: 22px; }
.lx-hero-compact h1 { font-size: clamp(44px, 7.2vw, 104px); line-height: 0.98; max-width: none; margin-bottom: 28px; }
.lx-hero-compact .lx-sub { max-width: 720px; margin: 0 auto 36px; font-size: clamp(17px, 1.8vw, 22px); }
.lx-hero-compact .lx-sub b { color: var(--text); font-weight: 650; }
.lx-hero-compact .lx-cta { gap: 16px; }
.lx-hero-compact .lx-cta .btn { min-height: 52px; padding: 0 28px; font-size: 17px; white-space: nowrap; }
.lx-hero-compact .lx-offer { margin: 26px auto 0; font-size: 17px; }
.lx-hero-compact .lx-note { margin-top: 8px; font-size: 15px; }
.lx-hero-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 40px; padding-bottom: 64px; border-top: 1px solid var(--border); }
.lx-hs { padding: 0 28px; border-left: 1px solid var(--border); container-type: inline-size; min-width: 0; }
.lx-hs:first-child { padding-left: 0; border-left: 0; }
.lx-hs b { display: block; white-space: nowrap; font-size: clamp(32px, 23cqi, 84px); line-height: 1; letter-spacing: -0.05em; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.lx-hs b small { font-size: 0.3em; letter-spacing: 0; font-weight: 600; color: var(--text-dim); margin-left: 6px; }
.lx-hs span { display: block; font-size: 14.5px; color: var(--text-dim); max-width: 26ch; }
@media (max-width: 900px) {
  .lx-hero-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; padding-bottom: 48px; }
  .lx-hs:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 1100px) { .lx-hero.lx-hero-compact { min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); } }
@media (max-width: 760px) { .lx-hero.lx-hero-compact { padding: 32px max(24px, env(safe-area-inset-right)) 40px max(24px, env(safe-area-inset-left)); } .lx-hero-compact h1 { font-size: clamp(40px, 12vw, 56px); margin-bottom: 20px; } .lx-hero-compact .lx-sub { margin-bottom: 28px; } .lx-hero-compact .lx-cta .btn { padding: 0 22px; font-size: 16px; } .lx-hero-specs { padding-top: 32px; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); } .lx-hs { padding: 0 16px; } }
@media (max-width: 430px) { .lx-hero-compact h1 { font-size: clamp(34px, 9.5vw, 44px); } .lx-hero-compact .lx-cta { flex-wrap: wrap; } .lx-hero-compact .lx-cta .btn { padding: 0 20px; } }

/* Tall screens: the hero and the specs strip share the first screen
   (header + hero + specs = 100svh). Short screens keep the full-height hero
   with the specs below the fold. --lx-hdr and --lx-specs are the measured
   header and compact-strip heights at each breakpoint. */
@media (min-width: 901px) and (min-height: 860px) {
  .lx-hero.lx-hero-compact { --lx-hdr: 73px; --lx-specs: 168px; min-height: calc(100vh - var(--lx-hdr) - var(--lx-specs)); min-height: calc(100svh - var(--lx-hdr) - var(--lx-specs)); }
  .lx-hero-specs { padding-top: 26px; padding-bottom: 28px; }
  .lx-hs b { font-size: clamp(30px, 17cqi, 60px); margin-bottom: 8px; }
  .lx-hs span { font-size: 14px; }
}
@media (min-width: 901px) and (max-width: 1100px) and (min-height: 860px) { .lx-hero.lx-hero-compact { --lx-hdr: 69px; --lx-specs: 182px; } }
@media (max-width: 900px) and (min-height: 800px) {
  .lx-hero.lx-hero-compact { --lx-hdr: 69px; --lx-specs: 222px; min-height: calc(100vh - var(--lx-hdr) - var(--lx-specs)); min-height: calc(100svh - var(--lx-hdr) - var(--lx-specs)); padding-top: 24px; padding-bottom: 28px; }
  .lx-hero-compact .lx-eyebrow { margin-bottom: 14px; }
  .lx-hero-compact h1 { margin-bottom: 14px; }
  .lx-hero-compact .lx-sub { margin-bottom: 20px; }
  .lx-hero-specs { padding-top: 16px; padding-bottom: 16px; row-gap: 12px; }
  .lx-hs b { font-size: clamp(26px, 17cqi, 40px); margin-bottom: 6px; }
  .lx-hs span { font-size: 12px; line-height: 1.3; max-width: none; }
}
@media (max-width: 400px) and (min-height: 800px) { .lx-hero.lx-hero-compact { --lx-specs: 236px; } }
.lx-cta-more { margin-left: 0.28em; }
.lx-cta-short { display: none; }
@media (max-width: 560px) { .lx-cta-more, .lx-cta-long { display: none; } .lx-cta-short { display: inline; } }

/* The bands after the hero are tighter than the site default: a smaller
   heading, less padding and shorter rows, so the page reads as one pass. */
.lx-band.lx-home-tight { padding-top: 52px; padding-bottom: 52px; }
.lx-home-tight .lx-title { font-size: clamp(28px, 3.4vw, 44px); max-width: 26ch; margin-bottom: 18px; }
.lx-home-tight .lx-kicker { margin-bottom: 10px; }
.lx-home-tight .lx-lede { margin-bottom: 20px; }
.lx-home-tight .lx-row { padding: 18px 0; }
.lx-home-tight .lx-steps > li { padding-top: 20px; }
.lx-home-tight .lx-steps > li::before { font-size: clamp(34px, 3.4vw, 46px); margin-bottom: 8px; }
.lx-home-tight .lx-split-body .lx-fine { margin-top: 18px; }
.lx-home-tight .lx-split-body .lx-actions { margin-top: 18px; }
#first-topup.lx-finale { padding: 84px 24px 92px; }
