/* Hemi Performance — Rack & Pinion Steering Conversion landing page */

:root {
  --hp-blue: #2c3890;
  --hp-blue-deep: #18205a;
  --hp-navy: #0f1433;
  --hp-slate: #232f3e;
  --hp-link: #2185c5;
  --hp-sky: #5fb4ec;
  --hp-green: #7ab51d;
  --hp-green-dark: #64981a;
  --hp-red: #d8262f;
  --paper: #f6f4f2;
  --white: #ffffff;
  --ink: #141824;
  --muted: #5b6475;
  --line: #e2e0dc;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(15, 20, 51, 0.35);
  --shadow-sm: 0 6px 20px -8px rgba(15, 20, 51, 0.25);
  --font: Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--hp-link); }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 200;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--hp-sky); outline-offset: 3px; }

.btn-buy { background: var(--hp-green); color: var(--white); box-shadow: 0 10px 24px -10px rgba(122, 181, 29, .8); }
.btn-buy:hover { background: var(--hp-green-dark); }

.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }

.btn-outline { border-color: var(--hp-blue); color: var(--hp-blue); }
.btn-outline:hover { background: var(--hp-blue); color: var(--white); }

.btn-sm { padding: .6em 1.15em; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(35, 47, 62, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .6); background: rgba(35, 47, 62, .98); }

.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; padding: 8px; cursor: pointer; color: var(--white);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(95, 180, 236, .28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(44, 56, 144, .9), transparent 70%),
    linear-gradient(135deg, var(--hp-blue) 0%, var(--hp-blue-deep) 55%, var(--hp-navy) 100%);
  padding: 72px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--hp-sky); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 900; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--hp-sky); display: block; }
.hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 34em; }

.hero-points { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
}
.hero-points svg { width: 16px; height: 16px; color: var(--hp-green); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; }
.hero-card {
  background: var(--white); border-radius: 26px; padding: 14px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .15);
  transform: rotate(1.5deg);
}
.hero-card img { border-radius: 16px; }

.hero-badge {
  position: absolute; left: -26px; top: 44px;
  background: var(--hp-slate); color: var(--white);
  border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px; border: 1px solid rgba(255, 255, 255, .12);
}
.hero-badge strong { font-size: 1.8rem; line-height: 1; color: var(--hp-green); font-weight: 900; }
.hero-badge span { font-size: .85rem; line-height: 1.3; color: rgba(255, 255, 255, .85); }

.hero-tag {
  position: absolute; right: -10px; top: -14px;
  background: var(--hp-red); color: var(--white); font-weight: 800; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Stats ---------- */
.stats { position: relative; margin-top: -64px; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2.1rem; font-weight: 900; color: var(--hp-blue); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--white); }
.section-dark { background: linear-gradient(160deg, var(--hp-slate), #161e29); color: var(--white); }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 900; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, .75); }
.section-head .eyebrow { justify-content: center; color: var(--hp-link); }
.section-dark .section-head .eyebrow { color: var(--hp-sky); }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.benefit .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--hp-blue), var(--hp-link)); color: var(--white); margin-bottom: 18px;
}
.benefit .icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.2rem; }
.benefit .problem { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hp-red); margin-bottom: 6px; }
.benefit p:last-child { margin-bottom: 0; color: var(--muted); }

/* ---------- Kits ---------- */
.kits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.kit {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.kit:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.kit.is-featured { border: 2px solid var(--hp-blue); }
.kit-flag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: var(--hp-blue); color: var(--white); font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.kit-flag.new { background: var(--hp-red); }
.kit-media { display: block; background: var(--white); border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; overflow: hidden; }
.kit-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .5s ease; }
.kit:hover .kit-media img { transform: scale(1.04); }
.kit-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.kit-type { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-link); margin-bottom: 6px; }
.kit h3 { font-size: 1.35rem; margin-bottom: 10px; }
.kit h3 a { color: inherit; text-decoration: none; }
.kit h3 a:hover { color: var(--hp-blue); }
.kit-from {
  display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted);
  background: var(--paper); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 18px;
}
.kit-from svg { width: 18px; height: 18px; color: var(--hp-blue); flex: none; }
.kit-from b { color: var(--ink); }
.kit-specs { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; font-size: .95rem; }
.kit-specs li { display: grid; grid-template-columns: 104px 1fr; gap: 10px; }
.kit-specs li span:first-child { color: var(--muted); }
.kit-specs li span:last-child { font-weight: 500; }
.kit-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.kit-price strong { font-size: 2rem; font-weight: 900; color: var(--ink); }
.kit-price small { color: var(--muted); }

.kits-foot { text-align: center; margin-top: 40px; color: var(--muted); }
.kits-foot p { margin-bottom: 18px; }

/* ---------- Engineering split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media .main {
  background: var(--white); border-radius: 24px; padding: 12px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.split-media .main img { border-radius: 16px; }
.split-media .inset {
  position: absolute; right: -24px; bottom: -36px; width: 46%;
  background: var(--white); border-radius: 18px; padding: 8px; box-shadow: var(--shadow);
}
.split-media .inset img { border-radius: 12px; }
.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 900; }
.split .eyebrow { color: var(--hp-sky); }
.split p { color: rgba(255, 255, 255, .8); }

.spec-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.spec-list li {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px; padding: 16px 18px;
}
.spec-list .num {
  flex: none; min-width: 92px; font-weight: 900; font-size: 1.15rem; color: var(--hp-green); line-height: 1.35;
}
.spec-list b { display: block; color: var(--white); }
.spec-list span { color: rgba(255, 255, 255, .7); font-size: .95rem; }

/* ---------- Comparison ---------- */
.compare-wrap { background: var(--white); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.compare { width: 100%; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--hp-slate); color: var(--white); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.compare thead th.ours { background: var(--hp-blue); }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: 0; }
.compare tbody th { font-weight: 700; width: 26%; }
.compare td.ours { background: rgba(44, 56, 144, .04); }
.compare .verdict { display: flex; gap: 10px; align-items: flex-start; }
.compare .verdict svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.compare .yes svg { color: var(--hp-green); }
.compare .no svg { color: var(--hp-red); }
.compare .no { color: var(--muted); }
.compare-note { font-size: .88rem; color: var(--muted); margin: 16px 4px 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.gallery figure.wide { grid-column: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery button:focus-visible { outline: 3px solid var(--hp-link); outline-offset: -3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; pointer-events: none;
  background: rgba(20, 24, 36, .82); color: var(--white); font-size: .85rem; font-weight: 500;
  padding: 8px 12px; border-radius: 10px; opacity: 0; transform: translateY(6px); transition: all .25s ease;
}
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; transform: none; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; background: var(--paper); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: 2.4rem; font-weight: 900; color: var(--hp-blue); opacity: .25; line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

.fit-times { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 40px; }
.fit-time {
  display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-radius: 14px;
  background: var(--hp-slate); color: var(--white);
}
.fit-time svg { width: 26px; height: 26px; color: var(--hp-green); }
.fit-time b { font-size: 1.2rem; }
.fit-time span { color: rgba(255, 255, 255, .75); font-size: .92rem; display: block; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  position: relative; margin: 0; padding: 34px 30px 28px; border-radius: 22px;
  background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.review .quote-mark { width: 40px; height: 40px; color: var(--hp-blue); opacity: .2; margin-bottom: 8px; }
.review h3 { font-size: 1.15rem; margin-bottom: 10px; }
.review blockquote { margin: 0 0 22px; color: #343b4b; font-size: 1.02rem; }
.review blockquote p:last-child { margin-bottom: 0; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.review .avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--hp-blue), var(--hp-link)); color: var(--white); font-weight: 800;
}
.review figcaption b { display: block; color: var(--ink); }
.reviews-foot { text-align: center; margin-top: 36px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px;
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--hp-blue); border-bottom: 2.5px solid var(--hp-blue);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding-bottom: 20px; color: var(--muted); }
.faq .answer ul { margin: 0 0 1em; padding-left: 1.2em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: var(--white); text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(95, 180, 236, .3), transparent 70%),
    linear-gradient(135deg, var(--hp-blue), var(--hp-blue-deep));
  padding: 90px 0;
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; }
.cta-band p { color: rgba(255, 255, 255, .82); font-size: 1.15rem; max-width: 640px; margin: 0 auto 32px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #121923; color: rgba(255, 255, 255, .7); padding: 56px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 46px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: rgba(255, 255, 255, .5);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(10, 13, 25, .92); padding: 40px 70px;
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 1000px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 14px; background: var(--white); }
.lightbox figcaption { color: rgba(255, 255, 255, .85); margin-top: 14px; }
.lb-btn {
  position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: var(--white); cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Mobile sticky buy bar ---------- */
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  background: rgba(35, 47, 62, .97); padding: 10px 16px; gap: 10px;
  box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, .5);
  transform: translateY(100%); transition: transform .3s ease;
}
.buy-bar.is-visible { transform: none; }
.buy-bar .btn { flex: 1; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .benefits, .kits, .reviews { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .split-media { max-width: 560px; margin: 0 auto 40px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0; margin: 0;
    background: var(--hp-slate); padding: 10px 20px 20px; display: none;
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .6);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px; }
  .header-cta { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .buy-bar { display: flex; }
  body { padding-bottom: 70px; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .compare tbody th { border: 0; padding-bottom: 6px; width: 100%; }
  .compare td { border: 0; padding-top: 6px; padding-bottom: 6px; }
  .compare td::before {
    content: attr(data-label); display: block; font-size: .72rem; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
  }
  .compare td.ours::before { color: var(--hp-blue); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 110px; }
  .hero-badge { left: 8px; top: auto; bottom: -22px; }
  .hero-tag { right: 4px; }
  .benefits, .kits, .reviews, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery figure.tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .split-media .inset { right: -6px; bottom: -28px; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
