/* Plans: the three plan cards (homepage and /plans) and the bots-by-plan table (/plans).
   No prices: the plans have none published. Enterprise shows as not available, with no button. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.6vw, 32px); border: 1px solid var(--m-line); border-radius: 20px; background: var(--m-surface); color: var(--m-ink); }
.plan-head { display: grid; gap: 8px; }
.plan-head h3 { font-size: clamp(32px, 3vw, 40px); line-height: 1.05; letter-spacing: -.02em; }
.plan-head p { color: var(--m-ink-2); }
.plan-bots { margin: 0; padding: 18px 0 0; list-style: none; display: grid; gap: 14px; border-top: 1px solid var(--m-line); }
.plan-bots li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.plan-bots strong { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.plan-bots small { display: block; color: var(--m-ink-2); font-size: 14px; line-height: 1.35; }
.plan-avatar { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; }
.plan-avatar--miobot { background: #fffefa; object-fit: contain; padding: 3px; box-shadow: inset 0 0 0 1px var(--m-line); }
.plan-avatar--shellbot { background: #000; }
.plan-avatar--digibot { background: #000b23; }
.plan-avatar--wizardbot { background: #090e1a; }
.plan-foot { margin-top: auto; display: grid; gap: 14px; }
.plan-status { display: flex; align-items: baseline; gap: 9px; font-size: 15px; color: var(--m-ink-2); }
.plan-status strong { color: var(--m-ink); font-weight: 600; }
.plan-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #2f9e62; transform: translateY(-1px); }
.plan .m-btn { width: 100%; }
.plan--off { background: var(--m-bg-alt); }
.plan--off .plan-dot { background: #a3a29a; }
.plan-off-note { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px dashed #c9c6bb; border-radius: 10px; color: var(--m-ink-2); font: 600 15px/1 var(--m-body); }
.plans-more { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.plans-more span { color: var(--m-ink-2); font-size: 15px; }

.plan-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--m-line); border-radius: 20px; background: var(--m-surface); }
.plan-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; }
.plan-table caption { padding: 18px 24px; text-align: left; font: 600 15px/1.4 var(--m-body); color: var(--m-ink-2); border-bottom: 1px solid var(--m-line); }
.plan-table th, .plan-table td { padding: 16px 24px; border-bottom: 1px solid var(--m-line); text-align: center; vertical-align: middle; }
.plan-table thead th { font: 400 26px/1.1 var(--m-display); letter-spacing: -.01em; }
.plan-table th[scope="row"] { text-align: left; font-weight: 400; }
.plan-table th[scope="row"] > span { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; }
.plan-table th[scope="row"] strong { display: block; font-weight: 600; }
.plan-table th[scope="row"] small { display: block; color: var(--m-ink-2); font-size: 14px; line-height: 1.35; }
.plan-table .plan-avatar { width: 36px; height: 36px; border-radius: 10px; }
.plan-table tr:last-child > * { border-bottom: 0; }
.plan-table tfoot th, .plan-table tfoot td { background: var(--m-bg-alt); font-size: 15px; font-weight: 600; }
.plan-table tfoot td.off { color: var(--m-ink-2); }
.plan-yes { width: 22px; height: 22px; margin: 0 auto; stroke: var(--m-accent-text); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan-no { display: block; color: #a3a29a; font-size: 20px; line-height: 1; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .plan-table { min-width: 0; font-size: 15px; }
  .plan-table caption { padding: 14px 14px; }
  .plan-table th, .plan-table td { padding: 12px 8px; }
  .plan-table th[scope="row"] { padding-left: 14px; }
  .plan-table thead th { font-size: 18px; }
  .plan-table th[scope="row"] > span { grid-template-columns: minmax(0, 1fr); }
  .plan-table th[scope="row"] .plan-avatar, .plan-table th[scope="row"] small { display: none; }
  .plan-table tfoot th, .plan-table tfoot td { font-size: 14px; }
}
.plans-section { padding-top: 0; }
.plan-note { margin-top: 16px; font-size: 14px; color: var(--m-ink-2); }
