/* CORBDAY candidate 0.4.0
   Product-fit table, release notes and roadmap. Static CSS, no JS dependency.
   New classes only; existing site styles and pricing stay untouched. */

/* Comparison: .product-fit */
.product-fit__table-wrap { margin: 28px 0 18px; border: 1px solid var(--line-strong, var(--line)); border-radius: 16px; background: var(--surface, #fff); overflow: hidden; }
.product-fit__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.product-fit__table caption { caption-side: top; padding: 15px 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.55; text-align: left; }
.product-fit__table th,
.product-fit__table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.product-fit__table thead th { background: var(--elevated, #f1eee5); color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.product-fit__table thead th:first-child { width: 34%; }
.product-fit__table tbody th { color: var(--warm, var(--ink)); font-size: 15px; font-weight: 700; line-height: 1.45; }
.product-fit__table td { color: var(--ink); font-size: 15px; line-height: 1.6; }
.product-fit__table tbody tr:last-child th,
.product-fit__table tbody tr:last-child td { border-bottom: 0; }
.product-fit__state { display: inline-block; margin: 0 0 8px; padding: 3px 9px; border: 1px solid; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; }
.product-fit__state--now { color: #1f6b43; background: #e7f5ec; border-color: #b9dfc8; }
.product-fit__state--preview { color: #6f4f0d; background: #fdf3d8; border-color: #e8d29a; }
.product-fit__note { max-width: 74ch; color: var(--muted); font-size: 13px; line-height: 1.65; }
.product-fit__actions { margin: 24px 0 0; }

/* Updates page: .release-notes */
.release-notes { max-width: 900px; }
.release-notes__head { margin-bottom: 18px; }
.release-notes__head h1,
.release-notes__head h2 { margin-bottom: 10px; }
.release-notes__lede { max-width: 68ch; }
.release-notes__updated { color: var(--muted); font-size: 12.5px; }
.release-notes__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; padding: 0; border: 0; }
.release-notes__filter,
.release-notes__chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong, var(--line)); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 650; line-height: 1.3; text-decoration: none; cursor: pointer; }
.release-notes__filter:hover,
.release-notes__filter[aria-pressed="true"],
.release-notes__filter[aria-current="true"] { background: var(--elevated, #f1eee5); border-color: var(--gold, #b8862e); }
.release-notes__legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.release-notes__chip--delivered { color: #1f6b43; background: #e7f5ec; border-color: #b9dfc8; }
.release-notes__chip--preview { color: #6f4f0d; background: #fdf3d8; border-color: #e8d29a; }
.release-notes__chip--planned { color: var(--muted); border-style: dashed; }
.release-notes__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.release-entry { padding: 20px 22px; border: 1px solid var(--line); border-left: 3px solid var(--line-strong, var(--line)); border-radius: 12px; background: var(--surface, #fff); }
.release-entry__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 6px; }
.release-entry__version { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.release-entry__date { color: var(--muted); font-size: 12px; }
.release-entry__status { margin-left: auto; padding: 3px 9px; border: 1px solid; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; line-height: 1.35; text-transform: uppercase; }
.release-entry__title { margin: 0 0 8px; font-size: 19px; }
.release-entry p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.65; }
.release-entry p:last-child,
.release-entry ul:last-child { margin-bottom: 0; }
.release-entry ul { margin: 0 0 10px; padding-left: 1.15rem; }
.release-entry li { margin: 4px 0; font-size: 14.5px; line-height: 1.6; }
.release-entry[data-release-status="delivered"] { border-left-color: var(--green, #2f6b45); }
.release-entry[data-release-status="delivered"] .release-entry__status { color: #1f6b43; background: #e7f5ec; border-color: #b9dfc8; }
.release-entry[data-release-status="preview"] { border-left-color: var(--gold, #b8862e); }
.release-entry[data-release-status="preview"] .release-entry__status { color: #6f4f0d; background: #fdf3d8; border-color: #e8d29a; }
.release-entry[data-release-status="planned"] { border-left-style: dashed; background: transparent; }
.release-entry[data-release-status="planned"] .release-entry__status { color: var(--muted); background: transparent; border-color: var(--line-strong, var(--line)); border-style: dashed; }
.release-notes__footnote { margin-top: 22px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* Roadmap: .roadmap-note */
.roadmap-note__panel { max-width: 860px; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line-strong, var(--line)); border-left: 3px solid var(--gold, #b8862e); border-radius: 16px; background: var(--surface, #fff); }
.roadmap-note__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 18px; margin-bottom: 14px; }
.roadmap-note__head h2 { margin: 0; }
.roadmap-note__state { margin: 0; padding: 4px 10px; border: 1px dashed var(--line-strong, var(--line)); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.roadmap-note__panel > p { max-width: 70ch; font-size: 15px; }
.roadmap-note__points { display: grid; gap: 7px; max-width: 70ch; margin: 0 0 16px; padding-left: 1.15rem; }
.roadmap-note__points li { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.roadmap-note__link { margin: 0; }
.roadmap-note__link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Shared focus and control sizing */
.product-fit a:focus-visible,
.release-notes a:focus-visible,
.release-notes button:focus-visible,
.release-notes__chip:focus-visible,
.roadmap-note a:focus-visible { outline: 2px solid var(--gold, #b8862e); outline-offset: 3px; border-radius: 4px; }
.product-fit__actions .button { display: inline-flex; align-items: center; min-height: 44px; }

/* Small screens: wrap in place; no fixed width and no sideways scroll */
@media (max-width: 640px) {
  .product-fit__table { display: block; }
  .product-fit__table caption { display: block; }
  .product-fit__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .product-fit__table tbody { display: block; }
  .product-fit__table tbody tr { display: grid; grid-template-columns: minmax(0,1fr); border-bottom: 1px solid var(--line); }
  .product-fit__table tbody tr:last-child { border-bottom: 0; }
  .product-fit__table tbody th,.product-fit__table td { display: block; border: 0; }
  .product-fit__table tbody th { padding-bottom: 6px; }
  .product-fit__table td { padding-top: 4px; }
  .product-fit__table thead th:first-child { width: 40%; }
  .product-fit__table caption { padding: 12px 14px; }
  .product-fit__table th,
  .product-fit__table td { padding: 13px 14px; }
  .product-fit__table tbody th,
  .product-fit__table td { font-size: 14px; }
  .release-entry { padding: 16px 16px 16px 18px; }
  .release-entry__status { margin-left: 0; }
}

.pricing-v2 .pricing-v2__capacity-state { display: block; margin-top: 0.45rem; color: var(--pv-slate); font-size: 14px; line-height: 1.55; }
@media (max-width: 360px) {
  .product-fit__table thead th:first-child { width: 41%; }
  .product-fit__table th,
  .product-fit__table td { padding: 10px 9px; }
  .product-fit__table tbody th,
  .product-fit__table td { font-size: 13.5px; }
}

/* Dark theme */
html[data-site-theme="dark"] .product-fit__table tbody th { color: var(--warm); }
html[data-site-theme="dark"] .product-fit__state--now { color: #0b1210; background: var(--green); border-color: transparent; }
html[data-site-theme="dark"] .product-fit__state--preview { color: #0b1210; background: var(--gold); border-color: transparent; }
html[data-site-theme="dark"] .release-notes__filter[aria-pressed="true"],
html[data-site-theme="dark"] .release-notes__filter[aria-current="true"] { background: var(--elevated); border-color: var(--gold); }
html[data-site-theme="dark"] .release-notes__chip--delivered,
html[data-site-theme="dark"] .release-entry[data-release-status="delivered"] .release-entry__status { color: #0b1210; background: var(--green); border-color: transparent; }
html[data-site-theme="dark"] .release-notes__chip--preview,
html[data-site-theme="dark"] .release-entry[data-release-status="preview"] .release-entry__status { color: #0b1210; background: var(--gold); border-color: transparent; }

.release-entry[hidden]{display:none!important}.release-filters{display:none}html[data-review-ready="true"] .release-filters{display:flex}.release-filters button{min-height:44px}.release-notes__notice{margin-top:2rem;padding:1.5rem;border:1px solid var(--line);border-radius:12px}.release-count{font-size:14px}.release-notes h1{max-width:18ch}.release-entry__meta{display:flex;flex-wrap:wrap;gap:10px 16px}.release-entry p{max-width:80ch}
