/* ============================================================================
   Products page: every product on the platform, grouped, one card each
   ============================================================================ */
.pd { max-width: var(--content, 1180px); margin: 0 auto; padding: 0 var(--pad, 24px) 80px; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 8px; }
.pd-chips a { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; color: var(--ink); transition: border-color 140ms ease, background 140ms ease, color 140ms ease; }
.pd-chips a:hover { border-color: var(--accent); color: var(--accent); background: rgba(255, 122, 0, 0.06); }
.pd-group { margin-top: clamp(44px, 6vw, 80px); scroll-margin-top: 90px; }
.pd-group-head h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -0.03em; }
.pd-group-head p { margin: 0 0 24px; max-width: 60ch; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.pd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pd-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); scroll-margin-top: 100px; transition: border-color 160ms ease, box-shadow 160ms ease, transform 200ms ease; }
.pd-card:hover, .pd-card:target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 16px 36px rgba(255, 122, 0, 0.1); }
.pd-card:target { animation: pd-pop 900ms ease; }
@keyframes pd-pop { 0% { transform: scale(1.02); } 100% { transform: none; } }
.pd-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 122, 0, 0.1); color: var(--accent); }
.pd-card h3 { margin: 6px 0 0; font-size: 20px; font-weight: 550; letter-spacing: -0.02em; }
.pd-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.pd-card ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pd-card li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.pd-card li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.pd-link { margin-top: auto; padding-top: 12px; font-size: 14.5px; font-weight: 550; color: var(--accent); }
.pd-link i { font-style: normal; display: inline-block; transition: transform 200ms ease; }
.pd-link:hover i { transform: translateX(4px); }
.pd-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; margin: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(255, 122, 0, 0.35); border-radius: 28px; background: rgba(255, 122, 0, 0.08); color: var(--ink); }
.pd-end-copy { flex: 1 1 420px; max-width: 700px; }
.pd-end h2 { margin: 0 0 10px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.03em; }
.pd-end p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.pd-end-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.pd-btn { display: inline-flex; align-items: center; height: 48px; padding: 0 26px; border: 1.5px solid var(--accent); border-radius: 999px; background: var(--accent); color: #111; font-size: 15px; font-weight: 600; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.pd-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 122, 0, 0.3); }
.pd-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.pd-btn--ghost:hover { background: var(--ink); color: #fff; box-shadow: none; }
@media (max-width: 760px) { .pd-end-actions { width: 100%; } .pd-btn { flex: 1 1 auto; justify-content: center; } }
@media (max-width: 980px) { .pd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pd-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pd-card, .pd-card:target { animation: none; transition: none; } }

/* the closing card on Products sits closer to the footer */
.pd-end { margin-bottom: clamp(24px, 3vw, 40px); }
