/* Produkty in the style of a pricing page (owner 2026-11-23,
   public/web/products.html). On top of web.css (its tokens, so light and
   dark follow the web's switch) and its pd-* parts: the headline beside the
   phone, two plan cards side by side (RaidCall, RaidCall Prémium), then the
   hardware - an index of the devices, a section per device (pd-*), the
   gate note. Calm: neutral surfaces, hairlines, one accent. */

/* the headline beside the phone with the app (the phone's box is pd-vis) */
.rce .px-hero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; padding-top: 24px; }
.rce .px-hero-solo { grid-template-columns: minmax(0, 1fr); }
.rce .px-hero-text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; min-width: 0; }
.rce .px-hero .pg-h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: .98; letter-spacing: -.045em; max-width: 12ch; }
.rce .px-hero .lead { max-width: 52ch; }
.rce .px-acts { margin-top: 4px; gap: 12px 24px; align-items: center; }

.rce .px-sec { scroll-margin-top: 88px; }
.rce #softver { margin-top: 80px; }

/* the two plan cards */
.rce .px-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.rce .px-plans-one { grid-template-columns: minmax(0, 560px); }
/* three plans (RaidCall, RaidCall Premium, the package; owner 2026-11-29) */
.rce .px-plans-three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rce .px-plans-three .px-plan { padding: 28px 24px; }
.rce .px-plan {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0;
  padding: 32px; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 12px 32px -16px rgba(15, 27, 45, .14);
}
.rce .px-plan-ic {
  display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px;
  border-radius: 12px; background: var(--sunk); color: var(--red-text);
}
.rce .px-plan-ic .ic { width: 22px; height: 22px; stroke-width: 1.75; }
.rce .px-plan-name { margin-top: 20px; font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.rce .px-plan-line { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 44ch; }
.rce .px-plan-price { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; min-height: 56px; }
.rce .px-plan-price b { font-size: clamp(2.4rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.rce .px-plan-price span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rce .px-plan-price small { font-size: 14px; line-height: 1.35; color: var(--muted); font-weight: 600; }
.rce .px-plan-price small:first-child { color: var(--ink); }
.rce .px-plan-price-link .pg-link { font-size: 16px; }
.rce .px-plan-btn { margin-top: 24px; width: 100%; height: auto; min-height: 52px; padding: 12px 20px; border-radius: 12px; white-space: normal; text-align: center; line-height: 1.25; }
.rce .px-plan-note { margin-top: 12px; width: 100%; text-align: center; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.rce .px-plan-rule { width: 100%; margin: 24px 0 20px; border: 0; border-top: 1px solid var(--line); }
.rce .px-plan-head { font-size: 15px; font-weight: 700; color: var(--ink); }
.rce .px-plan-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rce .px-plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.rce .px-plan-list .ic { width: 18px; height: 18px; margin-top: 1px; flex: none; stroke-width: 2.25; color: var(--red-text); }
.rce .px-foot { margin-top: 18px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--muted); }
.rce .px-foot a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.rce .px-foot a:hover { color: var(--red-text); text-decoration-color: currentColor; }
/* dark: the card a step lighter than the page (a shadow would vanish) */
html[data-web-theme="dark"] .rce .px-plan { background: var(--soft); box-shadow: none; }
html[data-web-theme="dark"] .rce .px-plan .px-plan-ic { background: var(--bg); }
@media (prefers-color-scheme: dark) {
  html:not([data-web-theme="light"]) .rce .px-plan { background: var(--soft); box-shadow: none; }
  html:not([data-web-theme="light"]) .rce .px-plan .px-plan-ic { background: var(--bg); }
}

/* the hardware: an index of the devices, then a section each */
.rce .px-hw-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.rce .px-hw-index a {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--line); color: var(--ink);
}
.rce .px-hw-index a:hover { border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.rce .px-hw-index a:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; }
.rce .px-hw-index b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.rce .px-hw-index span:not(.soon-pill) { font-size: 14px; color: var(--muted); flex: 1 1 auto; }

/* the detail of each device: closer, no rule */
.rce .pd-sec.pd-sub { margin-top: 72px; padding-top: 0; border-top: 0; }

/* the gate and the lights: the zbor's own device, works today */
.rce .px-also {
  margin-top: 72px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 24px 28px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line);
}
.rce .px-also .px-plan-ic { background: var(--bg); }
.rce .px-also h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.rce .px-also p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 70ch; }
.rce .px-req {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--prem-ink); background: var(--prem-bg);
}

@media (max-width: 1000px) {
  .rce .px-hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .rce .px-plans-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rce .px-plans-three > .px-plan:last-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .rce .px-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 8px; }
  .rce #softver { margin-top: 48px; }
  .rce .px-plans { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rce .px-plan { padding: 24px 20px; }
  .rce .px-also { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 20px; }
  .rce .pd-sec.pd-sub { margin-top: 48px; }
}
