/* Industry landing pages (/for/*), web/src/pages/_templates/VerticalPage.tsx. Built on the
   marketing kit; only the illustrative example, the why-it-matters block, the sourced statistic,
   the "what AI needs" list, the agencies link and the check list live here. */

.vt-example { margin: var(--space-8) auto 0; max-width: 820px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-2xl); border: 1px dashed var(--color-border-strong); background: var(--color-surface); display: grid; gap: var(--space-3); }
.vt-example__label { justify-self: start; font-family: var(--font-family-mono); font-size: var(--font-size-xs); text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 10px; border-radius: var(--radius-full); background: var(--color-accent-soft); color: var(--color-accent-soft-text); }
.vt-example__note { font-size: var(--font-size-sm); color: var(--color-text-muted); line-height: 1.55; }
.vt-example__question { margin: 0; padding-left: var(--space-4); border-left: 3px solid var(--color-accent); }
.vt-example__question p { font-size: var(--font-size-lg); line-height: 1.5; color: var(--color-text); text-wrap: pretty; }
.vt-example__body { color: var(--color-text-muted); line-height: 1.6; text-wrap: pretty; }

.vt-needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--space-4); }
.vt-needs li { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-6); border-radius: var(--radius-xl); border: 1px solid var(--color-border); background: var(--color-surface); }
.vt-needs h3 { font-size: var(--font-size-lg); font-weight: var(--font-weight-bold); letter-spacing: -0.01em; }
.vt-needs p { color: var(--color-text-muted); line-height: 1.55; }
.vt-needs__note { margin-top: var(--space-6); max-width: 72ch; color: var(--color-text-muted); line-height: 1.6; }

.vt-agencies { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-2xl); border: 1px solid var(--color-border); background: var(--color-surface); }
.vt-agencies p { max-width: 60ch; font-size: var(--font-size-lg); line-height: 1.6; color: var(--color-text-muted); }

.vt-why { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.vt-why__copy { display: grid; gap: var(--space-4); max-width: 64ch; }
.vt-why__copy p { font-size: var(--font-size-lg); line-height: 1.6; color: var(--color-text-muted); text-wrap: pretty; }
.vt-why__copy strong { color: var(--color-text); }

.vt-stat { margin: 0; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-2xl); background: var(--color-accent); color: var(--color-accent-contrast); box-shadow: var(--shadow-signature); }
.vt-stat__figure { font-size: clamp(3rem, 4vw + 1rem, 4.5rem); line-height: 1; letter-spacing: -0.04em; font-weight: var(--font-weight-heavy); }
.vt-stat figcaption { margin-top: var(--space-4); display: grid; gap: var(--space-3); line-height: 1.55; }
.vt-stat__source { font-size: var(--font-size-sm); opacity: 0.85; }
.vt-stat a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.vt-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-4); }
.vt-checks li { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-6); border-radius: var(--radius-xl); border: 1px solid var(--color-border); background: var(--color-surface); }
.vt-checks__weight { justify-self: start; font-family: var(--font-family-mono); font-size: var(--font-size-xs); padding: 2px 10px; border-radius: var(--radius-full); background: var(--color-accent-soft); color: var(--color-accent-soft-text); }
.vt-checks h3 { font-size: var(--font-size-lg); font-weight: var(--font-weight-bold); letter-spacing: -0.01em; }
.vt-checks p { color: var(--color-text-muted); line-height: 1.55; }

@media (max-width: 860px) {
  .vt-why { grid-template-columns: minmax(0, 1fr); }
}

/* Example question in the checker's idle panel (the page's one signature moment): the patient's
   question arrives as a chat bubble, then what an AI tool would need lands line by line, each
   marked by whether the free check looks at it. Plays once. */
.vt-ask { display: grid; gap: var(--space-4); }
.vt-ask__label { font-size: var(--font-size-sm); font-weight: var(--font-weight-medium); color: var(--color-text-muted); }
.vt-ask__bubble { justify-self: end; max-width: 56ch; padding: var(--space-4) var(--space-5); border-radius: 22px 22px 6px 22px; background: var(--color-accent); color: var(--color-accent-contrast); font-size: var(--font-size-lg); line-height: 1.45; box-shadow: var(--shadow-signature); text-wrap: pretty; }
.vt-ask__lead { margin-top: var(--space-2); font-weight: var(--font-weight-semibold); color: var(--color-text); }
.vt-ask__needs { list-style: none; margin: 0; padding: 0; display: grid; }
.vt-ask__needs li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); padding: 10px 0; border-top: 1px solid var(--color-border); }
.vt-ask__mark { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.is-checked .vt-ask__mark { background: var(--color-accent); color: var(--color-accent-contrast); }
.is-yours .vt-ask__mark { border: 1.5px dashed var(--color-border-strong); }
.vt-ask__text { color: var(--color-text); font-weight: var(--font-weight-medium); }
.vt-ask__tag { justify-self: end; padding: 3px 10px; border-radius: var(--radius-full); font-size: var(--font-size-xs); font-weight: var(--font-weight-semibold); white-space: nowrap; }
.is-checked .vt-ask__tag { background: var(--color-accent-soft); color: var(--color-accent-soft-text); }
.is-yours .vt-ask__tag { background: var(--color-apricot-soft); color: var(--color-apricot-soft-text); }
.vt-ask__note { font-size: var(--font-size-sm); color: var(--color-text-muted); line-height: 1.55; }
@media (max-width: 600px) {
  .vt-ask__needs li { grid-template-columns: 22px minmax(0, 1fr); }
  .vt-ask__tag { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .vt-ask__bubble { animation: vt-arrive var(--duration-entrance) var(--ease-out-expo) 0.3s both; transform-origin: 100% 100%; }
  .vt-ask__needs li { animation: vt-line var(--duration-entrance) var(--ease-out-expo) calc(0.9s + var(--i, 0) * 0.12s) both; }
}
@keyframes vt-arrive { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes vt-line { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Questions customers ask, beside the why copy: a short stack of message bubbles that arrives
   in order when it scrolls in. */
.vt-asks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); align-content: start; }
.vt-asks li { justify-self: start; max-width: 32ch; padding: 12px 18px; border-radius: 20px 20px 20px 6px; border: 1px solid var(--color-border); background: var(--color-surface); box-shadow: var(--elevation-2); font-weight: var(--font-weight-medium); color: var(--color-text); line-height: 1.4; }
.vt-asks li:nth-child(even) { justify-self: end; border-radius: 20px 20px 6px 20px; }
html.js-reveal .vt-asks.reveal:not(.is-visible) li { opacity: 0; transform: translateY(10px); }
.vt-asks.reveal.is-visible li { transition: opacity var(--duration-entrance) var(--ease-out-expo), transform var(--duration-entrance) var(--ease-out-expo); transition-delay: calc(var(--i, 0) * 0.12s); }
.vt-asks.reveal { opacity: 1 !important; transform: none !important; filter: none !important; }

/* What AI needs, grouped by the four parts of the score: the part and its points on the left,
   the things it looks at on the right, ticked. A checklist, not a wall of cards. */
.vt-groups { display: grid; }
.vt-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-6) clamp(32px, 5vw, 72px); padding: var(--space-8) 0; border-top: 1px solid var(--color-border); }
.vt-group:last-child { border-bottom: 1px solid var(--color-border); }
.vt-group__head { display: grid; gap: var(--space-2); align-content: start; }
.vt-group__weight { justify-self: start; padding: 3px 10px; border-radius: var(--radius-full); background: var(--color-accent-soft); color: var(--color-accent-soft-text); font-size: var(--font-size-xs); font-weight: var(--font-weight-semibold); }
.vt-group__head h3 { font-size: 1.5rem; letter-spacing: -0.025em; line-height: 1.15; }
.vt-group__head p { color: var(--color-text-muted); line-height: 1.55; font-size: var(--font-size-sm); }
.vt-group__items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--space-6) var(--space-8); align-content: start; }
.vt-group__items li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.vt-group__tick { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-contrast); }
.vt-group__items h4 { font-size: var(--font-size-base); font-weight: var(--font-weight-semibold); letter-spacing: -0.01em; line-height: 1.35; }
.vt-group__items p { margin-top: 4px; color: var(--color-text-muted); line-height: 1.55; font-size: var(--font-size-sm); }
@media (max-width: 860px) {
  .vt-group { grid-template-columns: minmax(0, 1fr); }
}

/* Agencies: a quiet violet-tinted panel with one solid ink button, so it reads as a real route
   without competing with the free check. */
.vt-agencies { border: 0; background: color-mix(in srgb, var(--color-accent) 7%, var(--color-surface)); box-shadow: var(--elevation-1); }
.vt-agencies p { color: var(--color-text); }
.vt-agencies__btn { background: var(--color-ink-bg); color: var(--color-ink-text); }
.vt-agencies__btn:hover { background: #000; color: var(--color-ink-text); }
.vt-agencies__btn svg { transition: transform var(--duration-quick) var(--ease-out-quart); }
.vt-agencies__btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .vt-agencies__btn:hover svg { transform: translateX(3px); } }
@media (prefers-contrast: more) { .vt-agencies { border: 1px solid var(--color-border-strong); } }
@media (prefers-reduced-motion: reduce) {
  .vt-agencies__btn:active, .vt-agencies__btn:hover svg { transform: none; }
  html.js-reveal .vt-asks.reveal:not(.is-visible) li { opacity: 1; transform: none; }
}
.vt-group__items h4, .vt-group__head h3, .vt-group__head p { margin: 0; }
.vt-group__items p { margin: 4px 0 0; }
