/* Products page: the commercial homepage system applied to buyer qualification. */

.products-page #basic,
.products-page #pro,
.products-page #ultimate,
.products-page #pricing { scroll-margin-top: 132px; }

.compare-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(560px, 1.16fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
  padding-top: clamp(58px, 7vw, 94px);
  padding-bottom: clamp(72px, 8vw, 110px);
}

.compare-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 640px;
  height: 640px;
  right: -250px;
  top: -150px;
  border: 1px solid rgba(139, 103, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 110px rgba(139, 103, 255, .025), 0 0 0 220px rgba(139, 103, 255, .016);
  pointer-events: none;
}

.compare-hero-copy h1 {
  max-width: 740px;
  margin: 24px 0 28px;
  font-size: clamp(3.6rem, 6.7vw, 7rem);
  line-height: .88;
  letter-spacing: -.07em;
}

.compare-hero-copy h1 em { display: block; color: var(--purple); font-style: normal; }
.compare-hero-copy .seo-summary { max-width: 720px; margin-top: 0; }
.compare-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fit-boundary { max-width: 680px; margin: 18px 0 0; color: var(--quiet); font-size: .8rem; }

.fit-console {
  position: relative;
  z-index: 1;
  min-width: 0;
  border: 1px solid #3b354c;
  border-radius: 14px;
  overflow: hidden;
  background: #09090e;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .48), 0 0 60px rgba(95, 53, 239, .08);
}

.fit-console-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.fit-console-head strong { font-size: .78rem; }
.fit-console-head span { color: var(--acid); font: 500 .61rem var(--mono); text-transform: uppercase; }
.fit-guide-figure { margin: 0; background: #07070b; }
.fit-guide-figure img { width: 100%; aspect-ratio: 1200 / 616; object-fit: cover; }

.fit-guide-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font: 500 .61rem var(--mono);
}

.fit-guide-figure figcaption span { color: var(--cyan); }
.fit-guide-figure figcaption a { color: #d4cfde; text-decoration: none; }
.fit-guide-figure figcaption a:hover { color: var(--cyan); }

.fit-routes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.fit-routes a { min-width: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 14px 13px; border-right: 1px solid var(--line); text-decoration: none; }
.fit-routes a:last-child { border-right: 0; }
.fit-routes a:hover { background: rgba(139, 103, 255, .1); }
.fit-routes b { color: var(--purple); font: 500 .65rem var(--mono); }
.fit-routes span { min-width: 0; display: grid; }
.fit-routes strong { font-size: .76rem; }
.fit-routes small { overflow: hidden; color: var(--quiet); font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }

.selection-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #0b0a10;
}

.selection-strip a { display: grid; gap: 8px; min-height: 94px; padding: 18px 20px; border-right: 1px solid var(--line); text-decoration: none; }
.selection-strip a:last-child { border-right: 0; }
.selection-strip a:hover { background: rgba(139, 103, 255, .09); }
.selection-strip span { color: var(--quiet); font-size: .7rem; }
.selection-strip strong { align-self: end; color: #ddd7e8; font: 500 .7rem var(--mono); }
.selection-strip a:nth-child(2) strong { color: var(--acid); }
.selection-strip a:nth-child(3) strong { color: var(--purple); }

.edition-ledger { padding-bottom: 0; }
.product-chapter { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); min-height: 610px; border: 1px solid var(--line); background: var(--panel); }
.product-chapter + .product-chapter { margin-top: 16px; }
.product-chapter:nth-of-type(even) .chapter-copy { order: 2; border-right: 0; border-left: 1px solid var(--line); }
.product-chapter:nth-of-type(even) .chapter-visual { order: 1; }

.chapter-copy { min-width: 0; display: flex; flex-direction: column; padding: clamp(28px, 4.5vw, 64px); border-right: 1px solid var(--line); }
.chapter-index { display: flex; justify-content: space-between; color: var(--quiet); font: 500 .65rem var(--mono); letter-spacing: .1em; }
.chapter-index span { color: var(--purple); }
.product-pro .chapter-index b { color: var(--acid); }
.product-ultimate .chapter-index b { color: var(--cyan); }
.chapter-copy h3 { margin: 28px 0 3px; font-size: clamp(3.4rem, 7vw, 6.8rem); line-height: .92; letter-spacing: -.07em; }
.chapter-price { display: flex; align-items: baseline; gap: 12px; min-height: 54px; }
.chapter-price strong { color: var(--acid); font-size: 1.75rem; }
.chapter-price span { color: var(--quiet); font: 500 .68rem var(--mono); }
.chapter-copy .offer-card-line { max-width: 330px; margin-top: 8px; }
.chapter-promise { max-width: 620px; min-height: 74px; margin: 18px 0 24px; color: #c4becd; font-size: .95rem; }

.feature-ledger { margin: 0 0 34px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.feature-ledger li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.feature-ledger span { color: var(--quiet); font: 500 .61rem/1.5 var(--mono); text-transform: uppercase; }
.feature-ledger strong { color: #cbc5d4; font-size: .76rem; font-weight: 600; }

.chapter-action { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 17px; border-top: 1px solid var(--line); color: white; font-weight: 800; text-decoration: none; }
.chapter-action span { color: var(--purple); font-size: 1.35rem; }
.chapter-action.solid { margin: auto -14px -14px; padding: 16px 14px; border: 0; background: var(--purple); color: #09070f; }
.chapter-action.solid span { color: #09070f; }
.chapter-actions { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.chapter-actions .chapter-action { margin-top: 0; }
.chapter-buy { padding: 11px 14px; border-radius: 5px; background: var(--purple); color: #09070f; font-size: .82rem; font-weight: 800; text-decoration: none; }

.chapter-visual { position: relative; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; align-items: center; margin: 0; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(139, 103, 255, .13), transparent 60%), #09080e; }
.chapter-visual img { width: 100%; height: auto; object-fit: contain; filter: saturate(.92) contrast(1.05); }
.chapter-visual figcaption { position: relative; z-index: 1; margin: 0 18px 18px; padding: 15px 17px; border: 1px solid #393248; border-radius: 9px; background: rgba(8, 7, 13, .9); }
.chapter-visual figcaption span { color: var(--cyan); font: 500 .61rem var(--mono); letter-spacing: .1em; }
.chapter-visual figcaption p { margin: 5px 0 0; color: #bcb6c8; font-size: .74rem; }

.comparison-section { border-top: 1px solid var(--line); }
.comparison-summary { max-width: 760px; margin: -22px 0 28px; color: var(--muted); }
.comparison-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); background: #0b0a10; scrollbar-color: var(--purple) #0b0a10; }
.comparison-scroll:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.comparison-table { width: 100%; min-width: 840px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 15px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.comparison-table tr:last-child th, .comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table th:last-child, .comparison-table td:last-child { border-right: 0; }
.comparison-table thead th { color: var(--cyan); font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.comparison-table thead th:nth-child(3) { color: var(--acid); background: rgba(184, 255, 101, .035); }
.comparison-table tbody th { width: 24%; color: #ddd7e8; font-size: .78rem; }
.comparison-table td { color: var(--muted); font-size: .76rem; }
.comparison-table td:nth-child(3) { background: rgba(184, 255, 101, .025); color: #d4cfde; }

.voice-lab-boundary { display: grid; grid-template-columns: 170px 1fr auto; gap: 28px; align-items: center; margin-top: 16px; padding: 24px; border: 1px solid var(--line); background: linear-gradient(100deg, rgba(103, 216, 255, .06), var(--panel) 45%); }
.voice-lab-boundary > span { color: var(--cyan); font: 500 .63rem var(--mono); letter-spacing: .08em; }
.voice-lab-boundary h3 { margin: 0 0 4px; font-size: 1.25rem; }
.voice-lab-boundary p { max-width: 760px; margin: 0; font-size: .8rem; }
.voice-lab-boundary a { color: var(--cyan); font: 500 .66rem var(--mono); white-space: nowrap; }

.hardware-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr); gap: clamp(48px, 7vw, 100px); align-items: center; border-top: 1px solid var(--line); }
.hardware-copy h2 { margin: 20px 0 22px; font-size: clamp(3rem, 5.5vw, 5.8rem); line-height: .92; letter-spacing: -.06em; }
.hardware-copy p { max-width: 620px; margin: 0 0 30px; }
.hardware-ledger { border: 1px solid var(--line); background: var(--panel); }
.hardware-ledger > div { display: grid; grid-template-columns: 145px 1fr; gap: 9px 22px; padding: 23px; border-bottom: 1px solid var(--line); }
.hardware-ledger > div:last-child { border-bottom: 0; }
.hardware-ledger span { grid-row: 1 / 3; color: var(--purple); font: 500 .63rem/1.5 var(--mono); }
.hardware-ledger strong { font-size: .88rem; }
.hardware-ledger small { color: var(--quiet); }

@media (max-width: 1120px) {
  .compare-hero { grid-template-columns: 1fr; }
  .compare-hero-copy { max-width: 900px; }
  .fit-console { max-width: 900px; }
  .selection-strip { grid-template-columns: repeat(2, 1fr); }
  .selection-strip a:nth-child(2) { border-right: 0; }
  .selection-strip a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hardware-section { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .product-chapter { grid-template-columns: 1fr; }
  .product-chapter .chapter-copy,
  .product-chapter:nth-of-type(even) .chapter-copy { order: 1; border: 0; border-bottom: 1px solid var(--line); }
  .product-chapter .chapter-visual,
  .product-chapter:nth-of-type(even) .chapter-visual { order: 2; min-height: 440px; }
  .voice-lab-boundary { grid-template-columns: 1fr; gap: 12px; }
  .voice-lab-boundary a { justify-self: start; }
}

@media (max-width: 720px) {
  .products-page > .offer-strip { top: 68px; display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 3px 12px; min-height: 44px; padding: 6px 12px; overflow: visible; white-space: normal; line-height: 1.25; }
  body.products-page:has(> .offer-strip) .site-nav { top: 112px; max-height: calc(100dvh - 128px); }
  .compare-hero { min-height: auto; padding-top: 48px; }
  .compare-hero-copy h1 { font-size: clamp(3.15rem, 15.5vw, 5rem); }
  .fit-console-head { align-items: flex-start; flex-direction: column; gap: 2px; padding-block: 10px; }
  .fit-guide-figure img { display: none; }
  .fit-guide-figure figcaption { border-top: 0; }
  .fit-routes { grid-template-columns: 1fr; }
  .fit-routes a { border-right: 0; border-bottom: 1px solid var(--line); }
  .fit-routes a:last-child { border-bottom: 0; }
  .fit-routes small { white-space: normal; }
  .selection-strip { grid-template-columns: 1fr; }
  .selection-strip a { min-height: 82px; border-right: 0; border-bottom: 1px solid var(--line); }
  .selection-strip a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .selection-strip a:last-child { border-bottom: 0; }
  .chapter-copy h3 { font-size: clamp(3.6rem, 19vw, 5.4rem); }
  .feature-ledger li { grid-template-columns: 95px 1fr; }
  .product-chapter .chapter-visual,
  .product-chapter:nth-of-type(even) .chapter-visual { min-height: 320px; }
  .chapter-actions { grid-template-columns: 1fr; }
  .chapter-buy { text-align: center; }
  .hardware-ledger > div { grid-template-columns: 1fr; }
  .hardware-ledger span { grid-row: auto; }
}

@media (max-width: 430px) {
  .products-page > .offer-strip { gap-inline: 9px; font-size: .61rem; }
  .compare-actions .button { width: 100%; }
  .fit-guide-figure figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .chapter-copy { padding: 26px 21px; }
  .feature-ledger li { grid-template-columns: 1fr; gap: 3px; }
  .product-chapter .chapter-visual,
  .product-chapter:nth-of-type(even) .chapter-visual { min-height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  .products-page * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
