/* Plan pages: /pricing/agent and /pricing/orchestration (owner, Nov 22, 2026).
   Loaded after home.css and compare.css on those two pages only.
   - .pp-card      the plan card in the hero. On Agent it's a small form:
                   ticking Context or Signal updates the monthly total
                   (site.js [data-plan-calc]); on Orchestration it lists
                   everything.
   - .pp-grid      what you get, as cards.
   - .pp-addcards  the two add-ons, with Agent's total beside each. */

.pp-art { display: grid; place-items: center; padding: 24px 0; }
.pp-card {
  width: min(100%, 420px); margin: 0; padding: 26px 26px 22px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: 0 30px 80px -40px rgba(34, 211, 238, .25);
}
.pp-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-name { margin: 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.pp-tag { padding: 3px 10px; border: 1px solid rgba(34, 211, 238, .45); border-radius: 999px; font-size: var(--t-xs); color: var(--signal); }
.pp-total { margin: 14px 0 0; font-size: 3rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.pp-total small { margin-left: 6px; font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.pp-from { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
[data-plan-total] { display: inline-block; }
[data-plan-total].is-bump { animation: pp-bump 380ms var(--ease); }
@keyframes pp-bump { 0% { transform: translateY(6px); opacity: .3; color: var(--signal); } 100% { transform: none; opacity: 1; } }
.pp-note { margin: 10px 0 0; font-size: .875rem; color: var(--muted); }
.pp-in { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.pp-in li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; align-items: center; font-size: .9375rem; color: rgba(232, 239, 243, .9); }
.pp-in svg { color: var(--signal); }
.pp-card--all .pp-in li { opacity: 0; transform: translateY(4px); animation: pp-in 420ms var(--ease) forwards; animation-delay: calc(300ms + var(--i, 0) * 120ms); }
@keyframes pp-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pp-card--all .pp-in li { opacity: 1; transform: none; animation: none; } [data-plan-total].is-bump { animation: none; } }

.pp-adds { margin: 18px 0 0; padding: 14px 0 0; border: 0; border-top: 1px solid var(--rule); display: grid; gap: 8px; min-width: 0; }
.pp-adds legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; font-size: .8125rem; color: var(--muted); }
.pp-add {
  display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px;
  border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer;
  transition: border-color var(--d-2) var(--ease), background-color var(--d-2) var(--ease);
}
.pp-add:hover { border-color: rgba(255, 255, 255, .2); }
.pp-add input {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--rule-strong); border-radius: 5px; background: transparent; cursor: pointer;
  transition: background-color var(--d-1) var(--ease), border-color var(--d-1) var(--ease);
}
.pp-add input:checked {
  border-color: var(--signal); background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='%2307090B' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.pp-add input:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.pp-add:has(input:checked) { border-color: rgba(34, 211, 238, .45); background: rgba(34, 211, 238, .05); }
.pp-add b { display: block; font-size: .9375rem; font-weight: 500; }
.pp-add small { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.4; color: var(--muted); }
.pp-add em { font-style: normal; font-size: .9375rem; font-weight: 500; color: var(--signal); white-space: nowrap; }

.pp-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; }
.pp-grid li { padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--surface); transition: border-color var(--d-2) var(--ease); }
.pp-grid li:hover { border-color: rgba(255, 255, 255, .16); }
.pp-grid h3 { margin: 0; font-size: 1.125rem; font-weight: 500; letter-spacing: -.01em; }
.pp-grid p { margin: 8px 0 0; font-size: .9375rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 900px) { .pp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pp-grid { grid-template-columns: minmax(0, 1fr); } }

.pp-addcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pp-addcard { padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--surface); }
.pp-addcard h3 { margin: 0; font-size: 1.25rem; font-weight: 500; }
.pp-addprice { margin: 10px 0 0; font-size: 2rem; font-weight: 500; letter-spacing: -.02em; color: var(--signal); }
.pp-addprice small { margin-left: 4px; font-size: .9375rem; font-weight: 400; color: var(--muted); }
.pp-addcard p:not(.pp-addprice):not(.pp-sum) { margin: 10px 0 0; font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.pp-sum { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: .875rem; color: var(--ink); }
@media (max-width: 640px) { .pp-addcards { grid-template-columns: minmax(0, 1fr); } }

.pp-cmp { margin-top: clamp(32px, 4vw, 48px); }
.pp-cmp tbody th { width: 30%; }
