/* /offerte-maken only: "Van offerte tot factuur". Four text rows became four
   items with a small HTML copy of the matching app bit on top, so the page
   keeps showing the product after the hero. Same 980px edge as the heading.
   Built on the product-demo tokens (--pd-*), so dark mode follows. */
.om-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
  max-width: 980px;
  margin: 0 auto;
}

.om-item h3 {
  margin: 18px 0 6px;
  font-size: 18px;
  color: var(--landing-text);
}

.om-item > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--landing-text-muted);
}

.om-mock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 176px;
  padding: 16px 18px;
  background: var(--pd-surface);
  border: 1px solid var(--pd-line);
  border-radius: 14px;
  box-shadow: var(--landing-shadow-hero-img);
  color: var(--landing-text);
  font-size: 14px;
}

.om-mock p {
  margin: 0;
}

.om-mock-kicker {
  font-size: 13px;
  font-weight: 600;
  color: var(--landing-text-muted);
}

.om-mock-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--landing-text-muted);
}

.om-mock-foot--end {
  justify-content: flex-end;
}

.om-sign {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border: 1px dashed var(--landing-border-hover);
  border-radius: 10px;
  background: var(--pd-canvas);
  color: #1e3a8a;
}

[data-theme="dark"] .om-sign {
  color: #93c5fd;
}

.om-sign span {
  font-size: 13px;
  color: var(--landing-text-muted);
}

.om-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--pd-line);
}

.om-row:last-child {
  border-bottom: 0;
}

.om-badge--draft {
  background: var(--pd-soft);
  color: var(--landing-text-secondary);
}

.om-badge--no {
  background: rgba(198, 40, 40, 0.09);
  color: var(--pd-late);
}

.om-req {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--pd-canvas);
  line-height: 1.5;
}

.om-req b {
  display: block;
  margin-bottom: 2px;
}

.om-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--landing-text-muted);
}

.om-doc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--pd-line);
  border-radius: 10px;
  background: var(--pd-paper);
  color: var(--pd-paper-ink);
  font-weight: 700;
  font-size: 16px;
}

.om-doc small {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.om-doc--inv {
  border-color: rgba(21, 101, 192, 0.35);
}

/* Side by side the four mocks share one height (row by row via subgrid),
   so the headings under them line up. */
@media (min-width: 761px) {
  .om-grid {
    grid-template-rows: repeat(2, auto auto auto);
    row-gap: 0;
  }

  .om-item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    margin-bottom: 40px;
  }
}

@media (max-width: 760px) {
  .om-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .om-mock {
    min-height: 0;
  }
}
