/* features.css — the /features/ hub and the six feature details, loaded per page
   from their `meta` block. Frames, radii, targets, balance, state feedback:
   see DESIGN.md → Shapes and Do's and Don'ts. */

/* hub · section spacing */

/* No margin on the container: the heading carries the rhythm
   (.doc-content h2 = --space-2xl above, --space-md below) and it collapses out
   of a padding-less section — a second margin here is what makes beats differ.
   See DESIGN.md → Layout · Section rhythm. */

/* Cards and hub grid: support.css (.fe-grid / .fe-card). */

/* hub · free vs Pro block */

.fe-plan {
  --ring-r: var(--radius-bar);
  --ring-face: var(--surface-soft);
  display: block;
  /* A frame cannot borrow a child's margin, so the panel states the beat. */
  margin-top: var(--section-beat);
}

.fe-plan-face {
  display: block;
  padding: var(--space-xl);
}

.doc-content .fe-plan-face h2 {
  /* A heading inside a frame is a label, not a section — see DESIGN.md →
     Layout · Section rhythm (--space-sm under it). */
  margin: 0 0 var(--space-sm);
  padding: 0;
  border-bottom: 0;
  font-size: var(--fs-h4);
}

.doc-content .fe-plan-face p {
  max-width: 65ch;
  text-wrap: pretty;
}

.fe-plan-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: var(--fw-bold);
}

/* detail · limit callout */

.fe-note {
  --ring-r: var(--radius-lg);
  --ring-color: var(--color-border-strong);
  --ring-face: var(--surface-soft);
  margin: var(--space-md) 0 var(--space-xl);
  display: block;
}

.doc-content .fe-note p.ring-face {
  display: block;
  margin: 0;
  padding: var(--space-md) var(--space-lg);
  color: var(--color-body);
  text-wrap: pretty;
}

/* detail · screenshot */

.fe-shot {
  --ring-r: var(--radius-lg);
  --ring-color: var(--color-border);
  --ring-face: var(--surface-soft);
  display: block;
  max-width: 20rem;
  margin: var(--space-xl) 0;
}

.fe-shot .ring-face {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in; /* the shared lightbox viewer opens it */
}
