/* ============================================================
   /features — the page's own pieces (site/src/pages/features.astro)
   Requires: tokens.css, page.css, word-pills.css, course.css, side-menu.css, feature-panel.css
   .features-pills   the first-screen headline: the live SVG «Automate · Analyze · Amplify · Your Ad Campaigns» as
                     word pills — the base pill from word-pills.css, two shapes of this page in em of the pill size:
                     cut corners (Automate) and a slant (Amplify, Your Ad Campaigns). Live's pixel font on
                     «Analyze» has no native in the system: a white pill in the site font (nearest native).
   .features-layout  the contents (3 columns) + the column of cards (9), on the course layout; the cards one grid gap
                     apart (the panel's own .feature + .feature rule — the course layout's gap is switched off)
   ============================================================ */

.features-pills__cut {
  --c: 0.3em; /* 16 at the 52 pill: the live octagon's corner */
  border-radius: 0;
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.features-pills__slant {
  --s: 0.2em; /* the live parallelogram: the top edge 0.15 of the height to the right */
  border-radius: 0;
  padding-inline: calc(0.462em + var(--s)); /* the slant takes its width from the padding, the text keeps its air */
  clip-path: polygon(var(--s) 0, 100% 0, calc(100% - var(--s)) 100%, 0 100%);
}

.features-layout { --course-gap: 0; }
.features-layout .course-main { display: block; } /* the cards space themselves (.feature + .feature) */
