/* product.css: the Platform section chassis (PRODUCT_SITE_PLAN section 5).
   Loaded only on /product and /product/* by _gen_build.py. Every colour is an existing
   token from tokens.css; nothing new is introduced here (BRAND.json is the authority). */

.crumbs { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 1.2rem; }
.crumbs .container { padding: 0; }
.crumbs a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: #fff; }

/* anchor rail: in-page links to the H2s, scrolls away with the hero */
.anchors { position: static; /* not sticky (Trace 2026-09-11): it fought the sticky header and the sticky row cards */ z-index: 5; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.08); }
.anchors ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.2rem; overflow-x: auto; scrollbar-width: none; }
.anchors ul::-webkit-scrollbar { display: none; }
.anchors a { display: inline-block; white-space: nowrap; padding: 0.8rem 0.9rem; font-size: 0.82rem; font-weight: 600; color: var(--ink, #282a2b); text-decoration: none; border-bottom: 2px solid transparent; }
.anchors a:hover, .anchors a.is-active { color: var(--accent); border-bottom-color: var(--accent); }

/* feature rows: H2 as the buyer's question, 60 to 90 words of answer, one shot */
.feature-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: center; padding: 3.5rem 0; border-top: 1px solid rgba(0,0,0,0.07); }
.feature-row:first-of-type { border-top: 0; }
.feature-row--flip .feature-row__copy { order: 2; }
.feature-row--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.feature-row--solo .feature-row__copy { order: 0; }
.feature-row h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; margin: 0 0 0.9rem; }
.feature-row p { font-size: 1.02rem; line-height: 1.65; margin: 0 0 0.8rem; }
.feature-row .eyebrow { display: block; margin-bottom: 0.6rem; }

/* the shot: a framed screenshot or a text rendering of the screen when none exists yet */
.shot { border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 24px 48px -28px rgba(0,0,0,0.45); background: #181a1b; }
.shot img { display: block; width: 100%; height: auto; }
.shot--text { padding: 1.1rem 1.2rem; color: rgba(255,255,255,0.86); font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.6; }
.shot--text b { color: #fff; }
.shot--text .row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.shot--text .row:last-child { border-bottom: 0; }
.shot--text .tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

/* spec table: what it reads, what it shows, how often it updates */
.spec-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec { width: 100%; border-collapse: collapse; margin: 1rem 0 0; font-size: 0.95rem; }
.spec th, .spec td { text-align: left; padding: 0.75rem 0.6rem; border-bottom: 1px solid rgba(0,0,0,0.08); vertical-align: top; }
.spec th { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm); font-weight: 600; }
.spec td:first-child { font-weight: 600; white-space: nowrap; }

/* callout: the honest freshness ceiling */
.callout { border-left: 3px solid var(--accent); background: rgba(0,0,0,0.035); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; }
.callout b { display: block; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.3rem; }
.callout p { margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* plans: three published tiers, Command is a card with no number */

/* compare: us against the alternative, row by row */
.compare { width: 100%; border-collapse: collapse; margin-top: 1.2rem; font-size: 0.95rem; }
.compare th, .compare td { padding: 0.8rem 0.7rem; border-bottom: 1px solid rgba(0,0,0,0.08); text-align: left; vertical-align: top; }
.compare th { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm); }
.compare td:first-child { font-weight: 600; }

/* statrow: three or four measured numbers with their source */
.statrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.statrow .stat { border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 1rem 1.1rem; }
.statrow .stat b { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.statrow .stat span { display: block; font-size: 0.82rem; color: rgba(0,0,0,0.6); margin-top: 0.3rem; }
.statrow .stat small { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warm); margin-top: 0.5rem; }

/* related pages */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.related a { display: block; border: 1px solid rgba(0,0,0,0.1); border-radius: 14px; padding: 1.1rem 1.2rem; text-decoration: none; color: inherit; transition: border-color 0.2s ease, transform 0.2s ease; }
.related a:hover { border-color: var(--accent); transform: translateY(-2px); }
.related b { display: block; font-size: 0.98rem; margin-bottom: 0.25rem; }
.related span { font-size: 0.85rem; color: rgba(0,0,0,0.6); }

@media (max-width: 900px) {
  .feature-row { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 2.4rem 0; }
  .feature-row > div { min-width: 0; max-width: 100%; }
  .feature-row--flip .feature-row__copy { order: 0; }
  .plans { grid-template-columns: 1fr 1fr; }
  .anchors { top: 56px; }
}
@media (max-width: 600px) {
  .shot:not(.shot--text) { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
  .shot:not(.shot--text) img { min-width: 720px; }
  .shot--pan { position: relative; }
  .shot--pan::after { content: "swipe to see more"; position: absolute; right: 0.6rem; bottom: 0.5rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85); background: rgba(24,26,27,0.75); padding: 0.25rem 0.5rem; border-radius: 6px; pointer-events: none; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .spec td:first-child { white-space: normal; }
}

/* UI cards: a text shot rendered as a clean product card (Trace 2026-09-11: nothing that looks
   like code). Same tokens as the site, same shapes as the dashboard: white card, soft edge,
   gradient accent, stat tiles or list rows with a pill. */
.shot--ui { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.ui { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 18px; box-shadow: 0 30px 60px -34px rgba(40,42,43,0.45), 0 2px 6px rgba(40,42,43,0.05); overflow: hidden; }
.ui__bar { display: flex; align-items: center; gap: 0.35rem; padding: 0.75rem 1rem; border-bottom: 1px solid rgba(0,0,0,0.06); background: var(--paper-50); }
.ui__dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(0,0,0,0.12); }
.ui__title { margin-left: 0.6rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--warm-deep, var(--warm)); }
.ui__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.7rem; padding: 1rem; }
.ui__tile { background: var(--paper-50); border: 1px solid rgba(0,0,0,0.06); border-radius: 12px; padding: 0.85rem 0.95rem; min-height: 78px; }
.ui__label { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(40,42,43,0.55); margin-bottom: 0.35rem; }
.ui__value { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1.15; color: var(--ink); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ui__list { padding: 0.5rem 1rem 0.8rem; }
.ui__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.92rem; }
.ui__row:last-child { border-bottom: 0; }
.ui__key { color: var(--ink); font-weight: 600; }
.ui__pill { flex: 0 1 auto; text-align: right; font-size: 0.8rem; color: rgba(40,42,43,0.75); background: var(--paper-50); border: 1px solid rgba(0,0,0,0.07); border-radius: 999px; padding: 0.3rem 0.7rem; }
@media (max-width: 600px) { .ui__tiles { grid-template-columns: 1fr 1fr; } .ui__row { flex-direction: column; align-items: flex-start; gap: 0.3rem; } .ui__pill { text-align: left; } }
/* Pricing: short cards, the full ladder in one matrix (Trace 2026-09-11) */
.plans__note { text-align: center; font-size: 0.9rem; color: rgba(40,42,43,0.6); margin-top: 1.4rem; }

/* pricing: four cards of one height, and the full table */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.6rem; align-items: stretch; }
.plan { position: relative; border: 1px solid rgba(0,0,0,0.08); border-radius: 18px; padding: 1.6rem 1.4rem 1.4rem; background: #fff; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,0.03); }
.plan--featured { border-color: transparent; box-shadow: 0 0 0 2px var(--accent), 0 28px 50px -34px rgba(40,42,43,0.45); }
.plan__badge { position: absolute; top: -0.75rem; left: 1.4rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 0.32rem 0.7rem; border-radius: 100px; }
.plan h3 { margin: 0; font-size: 1.15rem; }
.plan__for { margin: 0.25rem 0 0; font-size: 0.86rem; color: rgba(40,42,43,0.6); min-height: 2.6em; line-height: 1.3; }
.plan .price { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; line-height: 1; margin: 0.9rem 0 0.25rem; letter-spacing: -0.02em; }
.plan .price small { font-size: 0.85rem; font-weight: 500; color: rgba(0,0,0,0.5); letter-spacing: 0; }
.plan .setup { font-size: 0.82rem; color: rgba(0,0,0,0.55); padding-bottom: 1.1rem; border-bottom: 1px solid rgba(0,0,0,0.07); }
.plan__list { list-style: none; padding: 0; margin: 1rem 0 0; font-size: 0.92rem; line-height: 1.45; min-height: 11.4rem; }
.plan__list li { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.42rem 0; }
.plan__list li b { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 600; }
.plan__list svg { flex: none; width: 18px; height: 18px; margin-top: 0.1rem; padding: 3px; border-radius: 50%; background: var(--grad); color: #fff; }
.plan__list li.inherit { color: rgba(40,42,43,0.62); }
.plan__list li.inherit svg { background: rgba(40,42,43,0.14); color: rgba(40,42,43,0.7); }
.plan__list li.more { padding-left: 1.75rem; }
.plan__list li.more a { color: var(--accent-deep, #3a43ad); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(58,67,173,0.35); text-underline-offset: 3px; }
.plan__seats { margin: 0.6rem 0 1.1rem; padding-top: 0.9rem; border-top: 1px solid rgba(0,0,0,0.07); font-size: 0.85rem; color: rgba(40,42,43,0.65); }
.plan .btn { margin-top: auto; justify-content: center; width: 100%; }
.plans__note { margin-top: 1.2rem; font-size: 0.88rem; color: rgba(40,42,43,0.6); text-align: center; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan__list { min-height: 0; } .plan__for { min-height: 0; } }

.matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid rgba(0,0,0,0.08); border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -40px rgba(40,42,43,0.4); }
.matrix { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; }
.matrix th, .matrix td { padding: 0.95rem 1rem; text-align: center; vertical-align: middle; border-bottom: 1px solid rgba(0,0,0,0.06); }
.matrix th.feat, .matrix td.feat { text-align: left; min-width: 260px; position: sticky; left: 0; background: #fff; z-index: 1; }
.matrix thead th { position: sticky; top: 0; z-index: 2; background: var(--paper-50); font-family: var(--font-head); font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.matrix thead th.feat { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--warm-deep); background: var(--paper-50); }
.matrix thead th small { display: block; margin-top: 0.15rem; font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; color: rgba(40,42,43,0.6); }
.matrix .hot { background: rgba(58,67,173,0.045); }
.matrix thead th.hot { box-shadow: inset 0 3px 0 var(--accent); }
.matrix tbody tr:nth-child(even) td { background-color: rgba(0,0,0,0.015); }
.matrix tbody tr:nth-child(even) td.hot { background-color: rgba(58,67,173,0.06); }
.matrix td.feat b { display: block; color: var(--ink); font-weight: 600; }
.matrix td.feat span { display: block; font-size: 0.8rem; color: rgba(40,42,43,0.58); margin-top: 0.1rem; }
.matrix .tick { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; }
.matrix .tick svg { width: 14px; height: 14px; }
.matrix .dash { display: inline-block; width: 10px; height: 2px; border-radius: 2px; background: rgba(0,0,0,0.16); }
.matrix tfoot td { font-weight: 600; background: var(--paper-50); border-bottom: 0; }
.matrix tfoot td.feat { background: var(--paper-50); }
@media (max-width: 760px) { .matrix { font-size: 0.86rem; } .matrix th.feat, .matrix td.feat { min-width: 190px; } }
.matrix-hint { display: none; margin: 0 0 0.8rem; font-size: 0.82rem; color: rgba(40,42,43,0.55); }
@media (max-width: 760px) { .matrix-hint { display: block; } }

/* a row's card follows the reader instead of floating mid-column beside long text */
.feature-row { align-items: start; }
.feature-row > .reveal:has(.shot), .feature-row > .shot { position: sticky; top: 110px; }
@media (max-width: 900px) { .feature-row > .reveal:has(.shot), .feature-row > .shot { position: static; } }

