/* Product pages (Scan / Continuous / Dedicated): the hero, the "what you get"
   cells, the step visuals and the closing bands. Layout primitives (crumbs,
   tag, step list, scroll reveal) come from feature-page.css. */

/* Hero: copy left, particle art right, breadcrumbs across the top */
.pd-hero { box-shadow: inset 0 -1px var(--border-primary); }
.pd-hero .crumbs { width: 700px; }
.pd-hero .row { display: flex; height: 640px; }
.pd-hero .row > * { flex: 1 1 0; min-width: 0; }
.pd-hero .copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px 40px 80px; }
.pd-hero h1 { margin-top: 36px; max-width: 560px; }
.pd-hero .copy > p { margin-top: 20px; max-width: 520px; }
.pd-hero .actions { display: flex; gap: 12px; margin-top: 40px; }
.pd-hero .art { display: flex; align-items: center; justify-content: center; }
.pd-hero .art .three { width: 536px; height: 554px; }

/* What you get: three cells, icon over copy */
.pd-what { display: flex; box-shadow: inset 0 -1px var(--border-primary); }
.pd-what > div { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 40px; }
.pd-what > div + div { box-shadow: inset 1px 0 var(--border-primary); }
.pd-what .ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--surface-subtle); border: 1px solid var(--border-primary); }
.pd-what .ic img { width: 18px; height: 18px; }
.pd-what .fp-copy { max-width: 380px; }

/* Step visuals: one card per step */
.pd-card { width: 340px; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--surface-subtle); border: 1px solid var(--border-primary); border-radius: 16px; }
.pd-card .hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pd-card .rows { display: flex; flex-direction: column; }
.pd-card .rows > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.pd-card .rows > div + div { border-top: 1px solid var(--border-primary); }
.pd-card .nm { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pd-card .st { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; white-space: nowrap; }
.pd-card .ft { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 4px; }
.pd-code { font-family: var(--font-mono); font-weight: 500; font-size: 12px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-diff { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 8px; background: var(--surface-primary); border: 1px solid var(--border-primary); font-family: var(--font-mono); font-size: 12px; line-height: 18px; white-space: pre; overflow: hidden; }
.pd-diff .del { color: var(--red); }
.pd-diff .add { color: #0b8a5f; }
.pd-meter { position: relative; height: 4px; border-radius: 2px; background: var(--bg-tertiary); overflow: hidden; }
.pd-meter i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 50%); border-radius: 2px; background: var(--text-primary); }
.pd-meters { display: flex; flex-direction: column; gap: 10px; }
.pd-meters > div { display: flex; flex-direction: column; gap: 6px; }
.pd-meters .lb { display: flex; justify-content: space-between; }
.sev { padding: 4px 8px; border-radius: 4px; background: var(--red-20); color: var(--red); font-size: 12px; line-height: 16px; white-space: nowrap; }
.sev.amber { background: rgba(249, 171, 0, .16); color: #b57a00; }
.sev.green { background: rgba(16, 185, 129, .14); color: #0b8a5f; }
.dot-red { background: var(--red); box-shadow: none; }

/* Closing bands: who it's for, and the other products */
.pd-fit { display: flex; box-shadow: inset 0 -1px var(--border-primary); }
.pd-fit > div { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding: 60px 40px; }
.pd-fit > div + div { box-shadow: inset 1px 0 var(--border-primary); }
.pd-fit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.pd-fit li { display: flex; gap: 12px; align-items: flex-start; }
.pd-fit li img { flex: none; width: 16px; height: 16px; margin-top: 4px; }
.pd-fit .note { max-width: 520px; }
.pd-next { display: flex; flex-direction: column; }
.pd-next a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border-primary); }
.pd-next a:last-child { border-bottom: 1px solid var(--border-primary); }
.pd-next .tx { display: flex; flex-direction: column; gap: 4px; }
.pd-next b { font-weight: 500; font-size: 16px; line-height: 24px; }
.pd-next small { font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.pd-next a:hover b { color: var(--text-secondary); }
.pd-next a:hover .pill-icon { background: var(--border-secondary); }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  .pd-hero .crumbs { width: 405px; }
  .pd-hero .row { height: 500px; }
  .pd-hero .copy { padding: 80px 40px; }
  .pd-hero .art .three { width: 414px; height: 464px; }
  .pd-what > div { padding: 32px; }
  .pd-fit > div { padding: 40px 32px; }
}

/* ---------- Phone ---------- */
@media (max-width: 809px) {
  .pd-hero .crumbs { width: auto; }
  .pd-hero .row { flex-direction: column-reverse; height: auto; }
  .pd-hero .row > * { flex: none; }
  .pd-hero .art { height: 419px; }
  .pd-hero .art .three { width: 100%; height: 409px; }
  .pd-hero .copy { align-items: center; text-align: center; padding: 40px 20px 60px; }
  .pd-hero h1 { margin-top: 16px; font-size: 40px; line-height: 44px; }
  .pd-hero .actions { margin-top: 24px; flex-wrap: wrap; justify-content: center; }
  .pd-what, .pd-fit { flex-direction: column; }
  .pd-what > div, .pd-fit > div { flex: none; padding: 20px; }
  .pd-what > div + div, .pd-fit > div + div { box-shadow: inset 0 1px var(--border-primary); }
  .pd-card { width: 300px; }
  .dg { --s: .9; }
}
