/* /products/value-lens/ — page-specific styles (tokens only; loaded after site.css) */

/* Hero (dark band): H1 with the inline PRIVATE BETA badge, H2-size sub-headline, status sentence; the frame uses .hero__aside */
.hero--vl h1 .badge { margin-left: var(--s-3); position: relative; top: -0.12em; }
.hero__sub { margin-top: var(--s-4); }
.hero--vl .status { margin-top: var(--s-4); font-size: 15px; }

/* 02 The business question: body in two columns on desktop, then the three rule cells */
.question__body { max-width: var(--measure); }
@media (min-width: 1024px) {
  .question__body { max-width: none; column-count: 2; column-gap: var(--gap); column-rule: 1px solid var(--rule); }
}
.rules { margin-top: var(--s-7); }
.rule-cell .mono-title { display: block; }
.rule-cell p { margin-top: var(--s-3); font-size: 15px; line-height: 24px; }

/* 03 Six steps: hairline cells, 1 -> 2 (600px) -> 3 (900px), like the shared hairline grids */
.steps { display: grid; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.steps > li { border-top: 1px solid var(--rule); padding: var(--s-4) 0; min-width: 0; }
.steps h3 { margin-top: var(--s-2); }
.steps p { margin-top: var(--s-2); font-size: 15px; line-height: 24px; }
@media (min-width: 600px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps > li { padding: var(--s-5); }
  .steps > :nth-child(2n+1) { padding-left: 0; }
  .steps > :nth-child(2n) { border-left: 1px solid var(--rule); padding-right: 0; }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps > li { padding: var(--s-5); }
  .steps > :nth-child(2n+1) { padding-left: var(--s-5); }
  .steps > :nth-child(2n) { padding-right: var(--s-5); }
  .steps > :not(:nth-child(3n+1)) { border-left: 1px solid var(--rule); }
  .steps > :nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .steps > :nth-child(3n) { padding-right: 0; }
}

/* 07 Beta form: copy 1-5, form 6-12 (.form__row puts name and work email side by side) */
.beta-grid { margin-top: var(--s-6); }
@media (min-width: 600px) { .beta-grid { margin-top: var(--s-7); } }
.beta-copy .subcopy { margin-top: var(--s-4); }
.beta-copy .status { margin-top: var(--s-4); }

/* ---------------------------------------------------------------------------
   Addendum D sections (tokens only)
   --------------------------------------------------------------------------- */

/* D.1 One case: table label above the spec table, 2 x 2 stat cells in the right column, result line */
.case-grid { margin-top: 0; }
.case-label { display: block; margin-bottom: var(--s-3); }
@media (min-width: 1024px) { .case-result .stat-cell:nth-child(2n+1)::before { left: 0; } }
.stat-cell__num--pill { display: flex; align-items: center; height: 44px; }
.pill--stat { height: 36px; padding: 0 14px; font-size: 17px; line-height: 1; letter-spacing: 0.06em; }
.case-line { margin-top: var(--s-6); max-width: var(--measure); }

/* D.2 Architecture: the diagram sits between the section head and the four cards */
.diagram--arch { margin-top: 0; margin-bottom: var(--s-7); }
.diagram--arch svg.diagram__tall { max-width: 400px; }

/* D.3 Tools: five mono cells, one hairline row each below 1024px, five columns from 1024px */
.tools > li { padding: var(--s-4) 0; }
.tool__name { font: 500 14px/22px var(--font-mono); letter-spacing: 0; text-transform: none; margin: 0; max-width: none; color: var(--text); overflow-wrap: anywhere; }
.tools p { margin-top: var(--s-2); font-size: 15px; line-height: 24px; }
@media (min-width: 1024px) {
  .tools { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tools > li { padding: var(--s-5); }
  .tools > li:first-child { padding-left: 0; }
  .tools > li + li { border-left: 1px solid var(--rule); }
  .tools > li:last-child { padding-right: 0; }
}

/* D.5 Coverage: body beside a three-row scale (mono key left, figure right) */
.coverage-grid { margin-top: 0; }
.coverage__body { max-width: var(--measure); }
.coverage-scale > li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-3) 0; }
.coverage-scale__key { font: 400 14px/22px var(--font-mono); color: var(--text-muted); }
.coverage-scale .stat { font-size: var(--fs-h3); line-height: 1.2; }

/* D.7 Audit: body in two columns from 1024px (like the business question), then two cards */
.audit__body { max-width: var(--measure); }
@media (min-width: 1024px) {
  .audit__body { max-width: none; column-count: 2; column-gap: var(--gap); column-rule: 1px solid var(--rule); }
}
.audit-cards { margin-top: var(--s-7); }

/* 7.5 + D.9 Scope: beta list (1-4) beside the roadmap (5-12); 15 milestones on the method timeline,
   4 per row from 1024px, 3 per row from 600px, a numbered hairline list on phone */
.scope-grid { margin-top: var(--s-6); }
.roadmap .eyebrow { margin: 0; }
.method--milestones { margin-top: var(--s-4); }
.method--milestones .method__step { padding: var(--s-4) 0; }
.milestone { display: block; font-size: 15px; line-height: 24px; margin-top: var(--s-2); }
@media (max-width: 599px) {
  .method--milestones { border-bottom: 1px solid var(--rule); }
  .method--milestones .method__step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--s-3); padding: var(--s-3) 0; }
  .method--milestones .method__step::before { display: none; }
  .method--milestones .numeral { padding-top: 4px; }
  .method--milestones .milestone { margin-top: 0; }
}
@media (min-width: 600px) {
  .method--milestones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .method--milestones .method__step { padding-right: var(--s-4); }
}
@media (min-width: 1024px) { .method--milestones { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.roadmap__line { margin-top: var(--s-5); font-size: 15px; line-height: 24px; max-width: var(--measure); }
.roadmap .status { margin-top: var(--s-3); }

/* D.8 Guardrails: the two mono lists sit in cards (theme card language; bands alternate automatically) */
.guardrails-grid { row-gap: var(--s-5); }
.guardrails-grid > .list-mono { background: var(--sg-card, var(--surface)); border: 1px solid var(--sg-line, var(--rule)); border-radius: var(--sg-radius, var(--r-2)); box-shadow: var(--sg-shadow, none); padding: var(--s-5) 28px; }
.guardrails-grid > .list-mono > li:last-child { border-bottom: 0; }
@media (max-width: 599px) { .guardrails-grid > .list-mono { padding: var(--s-5) var(--s-5); } }

/* D.10 Stack chips */
.stack-chips { margin-top: var(--s-5); }
.stack-chips .chip { white-space: normal; height: auto; min-height: 32px; padding-block: 6px; line-height: 16px; }
