/* OpenCode buying guide: product participation, decisions, and accepted work. */
.opencode-page .comparison-opening-grid { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 56px; }
.opencode-page .comparison-opening h1 { font-size: clamp(30px, 3vw, 40px); }
.opencode-page .comparison-lead { font-size: 16px; }
.opencode-jump-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.opencode-jump-links .text-link { font-size: 13px; }
.opencode-thread { border: 1px solid #cbd7ed; border-radius: 12px; padding: 26px 28px 0; background: #fbfcff; box-shadow: 0 12px 32px #17326108; overflow: hidden; }
.opencode-thread-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: 1px; }
.opencode-thread-heading > span:first-child { display: flex; align-items: center; gap: 7px; }
.opencode-thread-heading > span:last-child { white-space: nowrap; letter-spacing: 0; }
.opencode-thread h2 { font-size: 23px; letter-spacing: -.6px; margin: 12px 0; }
.opencode-assignee { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.opencode-assignee > span { color: var(--muted); font-size: 11px; }
.opencode-thread-steps { list-style: none; padding: 0; margin: 24px 0; }
.opencode-thread-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; position: relative; padding-bottom: 20px; }
.opencode-thread-steps li:last-child { padding-bottom: 0; }
.opencode-thread-steps li:not(:last-child)::after { content: ""; position: absolute; top: 30px; bottom: 4px; left: 13px; width: 1px; background: #d6dfea; }
.opencode-thread-steps svg { width: 28px; height: 28px; padding: 6px; border-radius: 7px; background: #eaf0ff; color: var(--blue); }
.opencode-thread-steps strong { display: block; font-size: 13px; }
.opencode-thread-steps span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.opencode-thread-result { margin: 0 -28px; padding: 14px 28px; background: #edf3ff; color: #284b8b; font-size: 12px; font-weight: 700; }
.opencode-overlap { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 18px; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--line); }
.opencode-overlap > svg { color: var(--blue); }
.opencode-overlap p { color: var(--muted); font-size: 14px; margin: 0; }
.opencode-overlap strong { color: var(--ink); }
.opencode-overlap a, .opencode-table a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #abc1ed; }
.opencode-task-step { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; padding: 36px 0; align-items: start; }
.opencode-task-step + .opencode-task-step { border-top: 1px solid var(--line); }
.opencode-task-step:first-child { padding-top: 0; }
.opencode-step-number { display: inline-flex; align-items: center; justify-content: center; background: #edf3ff; color: var(--blue); font-size: 12px; font-weight: 750; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 14px; }
.opencode-step-copy h3 { font-size: 24px; margin-bottom: 14px; letter-spacing: -.55px; }
.opencode-step-copy p { color: var(--muted); font-size: 15px; }
.opencode-step-copy .text-link { margin-top: 10px; font-size: 13px; }
.opencode-step-copy .opencode-step-takeaway { color: var(--ink); font-weight: 650; }
.opencode-evidence { padding: 25px 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.opencode-evidence-label { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin: 0 0 20px; }
.opencode-evidence-label svg { width: 16px; height: 16px; flex-shrink: 0; }
.opencode-request-record h4 { font-size: 20px; letter-spacing: -.4px; margin-bottom: 18px; }
.opencode-record-author { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 10px; font-size: 13px; }
.opencode-record-author > span { color: var(--muted); font-size: 11px; }
.opencode-request-record .opencode-record-author + p { font-size: 14px; margin-top: 8px; }
.opencode-request-record .opencode-evidence-outcome { margin-top: 22px; }
.opencode-evidence-outcome { border-top: 1px solid #cfdcf2; padding-top: 16px; margin: 8px 0 0; font-size: 14px; color: var(--ink); }
.opencode-evidence-outcome > strong { display: block; color: var(--blue); margin-bottom: 5px; font-size: 12px; }
.opencode-evidence-outcome > .opencode-inline-brand { display: inline; color: inherit; font-size: inherit; }
.opencode-checks { margin: 0; }
.opencode-checks > div { margin-bottom: 16px; }
.opencode-checks dt { font-weight: 700; font-size: 12px; }
.opencode-checks dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.opencode-delivery-result { background: #f0f8f4; border-color: #cde3d7; }
.opencode-delivery-result .opencode-evidence-outcome { border-color: #cde3d7; }
.opencode-delivery-result .opencode-evidence-outcome > strong { color: #2e654d; }
.opencode-table-help { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }
.opencode-table-wrap { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.opencode-mobile-label { display: none; }
.opencode-table { width: 100%; min-width: 710px; table-layout: fixed; border-collapse: collapse; font-size: 14px; line-height: 1.75; }
.opencode-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.opencode-table th, .opencode-table td { text-align: left; vertical-align: top; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.opencode-table th:first-child { width: 21%; }
.opencode-table thead th { background: #f8fafc; font-size: 16px; vertical-align: middle; }
.opencode-table th small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; margin-top: 8px; }
.opencode-table-brand { display: flex; align-items: center; gap: 8px; }
.opencode-table th:last-child, .opencode-table td:last-child { background: #f0f5ff; }
.opencode-table tbody th { font-size: 14px; font-weight: 750; }
.opencode-table td { color: var(--muted); }
.opencode-table tr:last-child > * { border-bottom: 0; }
.opencode-fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.opencode-fit-grid article { padding: 26px 0; border-top: 1px solid var(--line); }
.opencode-fit-grid h3 { font-size: 23px; margin-bottom: 14px; letter-spacing: -.5px; }
.opencode-fit-grid p { font-size: 14px; color: var(--muted); }
.opencode-fit-grid .eyebrow { font-size: 11px; color: var(--blue); margin-bottom: 12px; }
.opencode-fit-grid .text-link { font-size: 13px; margin-top: 8px; }
.opencode-fit-grid a:not(.text-link) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.opencode-build-choice { margin-top: 16px; padding: 24px 28px; background: var(--soft); border-radius: 10px; }
.opencode-build-choice h3 { font-size: 20px; margin-bottom: 10px; }
.opencode-build-choice p { color: var(--muted); font-size: 14px; }
.opencode-build-choice .text-link { margin-top: 12px; font-size: 13px; }
.why-home-choices .opencode-home-link { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; margin-top: 12px; }
.opencode-home-link svg { width: 15px; height: 15px; flex-shrink: 0; }
@media (max-width: 1000px) {
  .opencode-page .comparison-opening-grid, .opencode-task-step { gap: 32px; }
  .opencode-thread { padding: 24px 22px 0; }
  .opencode-thread-result { margin-inline: -22px; padding-inline: 22px; }
  .opencode-evidence { padding: 24px; }
  .opencode-table th, .opencode-table td { padding: 20px 16px; }
}
@media (max-width: 800px) {
  .opencode-page .comparison-opening-grid, .opencode-task-step, .opencode-fit-grid { grid-template-columns: 1fr; }
  .opencode-page .comparison-opening h1 { font-size: 32px; }
  .opencode-thread { max-width: 540px; width: 100%; }
  .opencode-task-step { padding-block: 28px; gap: 22px; }
  .opencode-step-copy h3 { font-size: 23px; }
  .opencode-table-help { display: block; }
  .opencode-table-wrap { border: 0; border-radius: 0; overflow: visible; }
  .opencode-table { display: block; min-width: 0; }
  .opencode-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .opencode-table tbody { display: grid; gap: 22px; }
  .opencode-table tbody tr { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  .opencode-table tbody th, .opencode-table tbody td { display: block; width: auto; padding: 18px 20px; border: 0; }
  .opencode-table tbody th:first-child { width: auto; }
  .opencode-table tbody th { font-size: 16px; background: #f8fafc; border-bottom: 1px solid var(--line); }
  .opencode-table tbody td:last-child { border-top: 1px solid var(--line); }
  .opencode-table .opencode-mobile-label { display: block; font-size: 12px; font-weight: 750; color: var(--ink); margin-bottom: 8px; }
  .opencode-fit-grid article { padding-block: 24px; }
}
@media (max-width: 480px) {
  .opencode-page .comparison-opening h1 { font-size: 30px; }
  .opencode-overlap { grid-template-columns: 1fr; gap: 12px; }
  .opencode-thread, .opencode-evidence, .opencode-build-choice { padding-inline: 20px; }
  .opencode-thread-result { margin-inline: -20px; padding-inline: 20px; }
}
