/* Three small static sample-workflow illustrations. Page layout is owned by root. */
.rwf-art-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(1032px, calc(100% - 48px));
  margin: 32px auto;
}

.rwf-art {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(0, 0, 0, .04);
  border-radius: 16px;
  background: #9babbe url("../assets/hero-truck-blue-v1.png") 65.5% 3% / 330% auto no-repeat;
  color: #342b25;
  font-family: var(--sans, Arial, sans-serif);
}

.rwf-art--review { background-position: 8.6% 97%; }
.rwf-art--plan { background-position: 76% 3%; }

.rwf-card {
  position: absolute;
  overflow: hidden;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(67, 67, 67, .07);
  border-radius: 12px;
  box-shadow: 0 3px 9px rgba(48, 60, 73, .06);
}

/* A tall clipped document, an AI draft, then a compact school-task excerpt. */
.rwf-card--capture { top: 8%; left: 8%; width: 94%; }
.rwf-card--review { top: 12%; left: 8%; width: 84%; }
.rwf-card--plan { top: 30%; left: 8%; width: 86%; }

.rwf-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 28px;
  padding: 4px 9px;
  box-sizing: border-box;
  border-bottom: 1px solid #eeeae5;
}

.rwf-brand {
  font-family: 'Ronivo Petrona', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -.045em;
}

.rwf-sample {
  color: #77716b;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  white-space: nowrap;
}

.rwf-order { margin-left: 5px; color: #77716b; }
.rwf-card--capture .rwf-bar { padding-right: 14px; }

.rwf-excerpt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 9px;
}

.rwf-excerpt p { margin: 0; }
.rwf-title { font-size: 14px; font-weight: 500; line-height: 18px; }
.rwf-main { font-size: 14px; font-weight: 400; line-height: 18px; }
.rwf-meta { color: #756e66; font-size: 10px; font-weight: 400; line-height: 12px; }
.rwf-source { color: #756e66; }
.rwf-review-state { padding-top: 2px; border-top: 1px solid #eeeae5; }
.rwf-task-state { padding-top: 3px; border-top: 1px solid #eeeae5; }

.rwf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@container (min-width: 350px) {
  .rwf-bar { min-height: 34px; padding: 6px 12px; }
  .rwf-excerpt { gap: 6px; padding: 11px 12px; }
  .rwf-title { font-size: 16px; line-height: 20px; }
  .rwf-card--plan { top: 31%; }
}

@container (max-width: 280px) {
  .rwf-card { border-radius: 10px; }
  .rwf-card--capture .rwf-excerpt { padding-right: 14px; }
  .rwf-bar { gap: 4px; padding-inline: 7px; }
  .rwf-order { margin-left: 3px; }
}

@media (max-width: 1023px) {
  .rwf-art-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .rwf-art-preview { grid-template-columns: minmax(0, 1fr); }
}
