/* piCAN-Logger product page (DE/EN), pironex technology GmbH.
   Loaded AFTER pismart.css, only on /pican-logger/. Contains only the components
   this page needs beyond the shared ones; tokens, fonts, header, hero, facts,
   benefits, features, steps, clip, specs table, final/contact and footer come
   from pismart.css. Class names here do not exist in pismart.css. */

/* hero: red glow behind the schematic, as in the original page */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 45%, rgba(195, 31, 44, .16), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }

/* protocol chips in the hero */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.chips li { font-family: var(--mono); font-size: 12.5px; color: var(--d-ink-2); border: 1px solid var(--d-line); background: var(--d-card); border-radius: 999px; padding: 4px 14px; }

/* alternating light section (white), like .product/.power on the gateway page */
.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* two columns: text + figures */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.two.center { align-items: center; }
.figs { margin-top: 48px; }

/* list with the pironex flag as bullet */
.ticks { list-style: none; padding: 0; margin-top: 32px; }
.ticks li { position: relative; padding-left: 24px; margin-bottom: 12px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--accent); clip-path: var(--flag); }
.ticks b { color: var(--ink); font-weight: 500; }

/* figures: UI sketches from the software manual */
.fig { margin: 0 0 32px; }
.fig:last-child { margin-bottom: 0; }
.fig img { display: block; width: 100%; height: auto; }
.fig figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.sketch { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; }

/* card grid (applications) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; padding: 0; list-style: none; }
.cards li { background: var(--page); border: 1px solid var(--line); border-radius: 16px; padding: 28px 32px; }
.cards h3 { display: flex; align-items: center; gap: 10px; }
.cards h3::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--accent); clip-path: var(--flag); }
.cards p { color: var(--ink-2); font-size: 15px; }

/* specs: note inside a table cell, drawing and pin assignment */
.cell-note { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.drawing { margin-top: 80px; }
.pinouts { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 16px; }
.pins { width: auto; min-width: 13rem; }
.pins caption { text-align: left; font-size: 14px; color: var(--ink-3); padding-bottom: 8px; caption-side: top; }
.pins th, .pins td { width: auto; padding: 10px 24px 10px 0; }
.pins thead th { color: var(--ink); font-weight: 500; }
.pins td:first-child { font-family: var(--mono); }
.pin-img { width: 120px; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px; }

@media (max-width: 960px) {
  .two { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .drawing { margin-top: 64px; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .cards li { padding: 24px; }
}
