/* Supporting editorial layouts for feature pages; no software screen replicas. */
/* Marketing-side helpers (page typography, not app UI) */
.op-states { margin-top: 48px; border-top: 1px solid var(--ink); }
.op-states > div { padding: 22px 0; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 32px; align-items: start; border-bottom: 1px solid var(--line); }
.op-states dt { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 19px; line-height: 1.35; }
.op-states dt .pill { flex: none; font-size: 12px; }
.op-states dd { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.6; }
.op-states dd b { color: var(--ink); font-weight: 400; }
.op-k { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.op-states .op-states-head { padding: 14px 0; color: var(--muted); font-size: 13px; }
.op-states .op-states-head span { color: var(--muted); }
.op-stage { padding: clamp(18px, 3vw, 40px); display: grid; place-items: center; border-radius: var(--radius); background: var(--gray); }
.op-faq-wrap .faq { margin-top: 0; }


@media (max-width: 1199.98px) {
  .op-states > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .op-states > div > :first-child { grid-column: 1 / -1; }
  .op-states .op-states-head { display: none; }
}
@media (max-width: 809.98px) {
  .op-states > div { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .op-states dt { font-size: 18px; }
}

/* Feature discovery (features.html) */
.ow-modules { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.ow-group { padding: 36px 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; border-bottom: 1px solid var(--line); }
.ow-group h2 { color: var(--ink); font-size: 28px; line-height: 1.2; }
.ow-group > div:first-child p { margin-top: 12px; max-width: 360px; font-size: 16px; line-height: 1.6; }
.ow-links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.ow-link { padding: 22px; display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--gray-2); transition: background-color .25s, border-color .25s; }
.ow-link:hover { background: var(--gray); border-color: #e2e2e9; }
.ow-link > b { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 18px; font-weight: 400; }
.ow-link > span { color: var(--text); font-size: 15px; line-height: 1.55; }
.ow-link ul { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ow-link li { position: relative; padding-left: 16px; color: var(--text); font-size: 14px; line-height: 1.5; }
.ow-link li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.ow-link .text-link { margin-top: auto; padding-top: 6px; }
.ow-chain { margin: 48px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: ow; }
.ow-chain li { position: relative; padding: 22px 22px 0 0; border-top: 1px solid var(--line); counter-increment: ow; }
.ow-chain li::before { content: counter(ow, decimal-leading-zero); display: block; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.ow-chain li::after { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.ow-chain h3 { margin-top: 12px; color: var(--ink); font-size: 18px; line-height: 1.35; }
.ow-chain p { margin-top: 8px; font-size: 15px; line-height: 1.55; }
.ow-chain a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.ow-chain a:hover { text-decoration-color: currentColor; }
.ow-tour-wrap { margin-top: clamp(40px, 5vw, 64px); }

@media (max-width: 1199.98px) {
  .ow-group { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ow-chain { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 809.98px) {
  .ow-links, .ow-chain { grid-template-columns: minmax(0, 1fr); }
}

/* Marketing tables and charts on the page itself */
.op-table-wrap { margin-top: 48px; overflow-x: auto; }
.op-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
.op-table caption { padding-bottom: 14px; color: var(--muted); font-size: 14px; text-align: left; }
.op-table th, .op-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.op-table thead th { padding-top: 0; color: var(--muted); font-size: 13px; font-weight: 400; border-bottom-color: var(--ink); }
.op-table tbody th { color: var(--ink); font-weight: 400; }
.op-table td { color: var(--text); line-height: 1.55; }
.op-table .num { color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.op-table thead .num { color: var(--muted); }
.op-table th:first-child { padding-left: 0; }
.op-table td:last-child { padding-right: 0; }
.op-table .why { max-width: 420px; font-size: 14.5px; }
/* Phones: each result stacks, with both values labeled side by side and the reason below. */
@media (max-width: 809.98px) {
  .op-table-wrap { overflow-x: visible; }
  .op-table, .op-table tbody, .op-table caption { display: block; min-width: 0; }
  .op-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .op-table tbody tr { padding: 18px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 16px; border-bottom: 1px solid var(--line); }
  .op-table tbody tr:first-child { border-top: 1px solid var(--ink); }
  .op-table tbody th, .op-table td { padding: 0; border: 0; }
  .op-table tbody th { grid-column: 1 / -1; padding-bottom: 8px; font-size: 17px; }
  .op-table td.num { display: grid; gap: 2px; text-align: left; }
  .op-table td.num::before { content: attr(data-label); color: var(--muted); font-size: 13px; font-variant-numeric: normal; }
  .op-table .why { grid-column: 1 / -1; max-width: none; padding-top: 10px; }
}

.or-ledger { margin: 0; display: grid; }
.or-ledger > div { padding: 14px 0; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; border-top: 1px solid var(--line); }
.or-ledger dt { display: contents; }
.or-ledger dt::before { content: attr(data-sign); color: var(--muted); font-variant-numeric: tabular-nums; }
.or-ledger dt span { color: var(--text); font-size: 16px; line-height: 1.45; }
.or-ledger dt small { display: block; color: var(--muted); font-size: 14px; }
.or-ledger dd { margin: 0; color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.or-ledger .total { border-top-color: var(--ink); }
.or-ledger .total dt span, .or-ledger .total dd { color: var(--ink); }
.or-composition { margin-top: 28px; }
.or-composition > p { color: var(--muted); font-size: 14px; }
.or-bar-stack { margin-top: 12px; height: 14px; display: flex; gap: 2px; overflow: hidden; border-radius: 7px; }
.or-bar-stack > i { flex: 0 0 var(--p); min-width: 3px; background: var(--c); }
.or-legend { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text); font-size: 14px; }
.or-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.or-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.or-legend b { color: var(--ink); font-weight: 400; font-variant-numeric: tabular-nums; }

.or-lib { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.or-lib > section { padding-top: 22px; border-top: 1px solid var(--ink); }
.or-lib h3 { color: var(--ink); font-size: 20px; }
.or-lib > section > p { margin-top: 8px; font-size: 15px; line-height: 1.55; }
.or-lib ul { margin-top: 18px; display: grid; }
.or-lib li { padding: 10px 0; display: grid; gap: 2px; border-top: 1px solid var(--line-2, var(--line)); color: var(--ink); font-size: 15.5px; }
.or-lib li span { color: var(--muted); font-size: 14px; }
.or-lib .cols { columns: 2; column-gap: 28px; display: block; }
.or-lib .cols li { break-inside: avoid; }
.or-lib h4 { margin-top: 22px; color: var(--muted); font-size: 13px; font-weight: 400; }
@media (max-width: 1199.98px) {
  .or-lib { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 40px; }
  .or-lib > section:first-child { grid-column: 1 / -1; }
}
@media (max-width: 809.98px) {
  .or-lib { grid-template-columns: minmax(0, 1fr); }
  .or-lib .cols { columns: 1; }
  .or-ledger > div { grid-template-columns: 22px minmax(0, 1fr) auto; }
}
