/* Duit website: the "Manage your own marketing with AI" page (manage-your-own-marketing.html, served at
   /manage-your-own-marketing; written by tools/pages.py, SPEC15). Loaded after site.css, window.css, sections.css,
   products.css and grow.css, which give the tokens, both themes, the window, the sections, the cards and the labels.
   This file adds the two price lists (.om-list: what SEO providers charge, by Ahrefs' survey, and Duit's two plans) and
   the comparison table (.om-table: what an SEO retainer usually buys, against Duit Solo and Duit Boosted). Under 640px
   the table becomes one block per row, so nothing scrolls sideways. No inline styles or scripts, so the page runs
   under the site's strict CSP. */

.om-list { display: grid; gap: 4px 0; margin: 12px 0 0; }
.om-list dt { margin-top: 10px; font-weight: 600; color: var(--text); }
.om-list dt:first-child { margin-top: 0; }
.om-list dd { margin: 0; color: var(--muted); }
.om-prices .card > .gr-fine, .om-prices .card > .gr-label { margin-top: 16px; }

.om-table-wrap { margin-top: 8px; }
.om-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.om-table th, .om-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.om-table thead th { border-top: 0; font-weight: 600; color: var(--text); }
.om-table tbody th { font-weight: 600; color: var(--text); width: 34%; }
.om-table td { color: var(--muted); }

@media (max-width: 639px) {
  .om-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .om-table, .om-table tbody, .om-table tr, .om-table th, .om-table td { display: block; width: auto; }
  .om-table tr { padding: 14px 0; border-top: 1px solid var(--line); }
  .om-table th, .om-table td { padding: 2px 0; border-top: 0; }
  .om-table tbody th { width: auto; margin-bottom: 4px; }
  .om-table td::before { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
  .om-table td:nth-of-type(1)::before { content: "Duit Solo"; }
  .om-table td:nth-of-type(2)::before { content: "Duit Boosted"; }
  .om-table td + td { margin-top: 8px; }
}
