/* Features page (lot 07 of vitrine): loaded after sales.css, which gives the header, sections, terminals and footer. */
.features .features-hero { padding-block: clamp(2.5rem, 7vw, 5rem) 2rem; }
.features .features-hero h1 { max-width: 22ch; }
.features .features-hero .lead { max-width: 62ch; }
.features #journey, .features #table, .features #details { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.features .journey { gap: 3.5rem; }

/* Table: three columns on a wide screen, one card per feature under 600 px */
.features .feature-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.features .feature-table th, .features .feature-table td { text-align: start; vertical-align: top; padding: .85rem 1rem .85rem 0; border-block-end: 1px solid var(--line); }
.features .feature-table thead th { font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--ink-3); border-block-end-color: var(--line-2); }
.features .feature-table tbody th { font-weight: 600; }
.features .feature-table td:last-child { color: var(--ink-2); }
.features code { font-family: var(--mono); font-size: .88em; color: var(--accent-2); overflow-wrap: anywhere; }
@media (max-width: 37.5rem) {
  .features .feature-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .features .feature-table, .features .feature-table tbody, .features .feature-table tr, .features .feature-table th, .features .feature-table td { display: block; }
  .features .feature-table tr { padding: 1rem 1.1rem; margin-block-end: .75rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: .75rem; }
  .features .feature-table th, .features .feature-table td { padding: .2rem 0; border: 0; }
  .features .feature-table td::before { content: attr(data-label) ' · '; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
}

/* Details: one card per feature, reachable from the table by its anchor */
.features .details { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; }
.features .detail { padding: 1.3rem 1.3rem 1.1rem; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: .85rem; scroll-margin-top: 1.5rem; }
.features .detail:target { border-color: var(--accent); }
.features .detail h3 { margin-block-start: 0; }
.features .detail p { color: var(--ink-2); }
.features .detail-command { margin-block-end: 0; font-size: .9rem; }
.features .detail-command span { display: block; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
