/* App-style product surface, scoped to the landing hero. */
.landing-triptych.landing-triptych--walkthrough { display: block; width: 100%; }
.hero-demo { grid-column: 1 / -1; min-width: 0; position: relative; text-align: left; color: var(--color-brand-black); padding: 8px; background: linear-gradient(135deg, #ECEEF4 0%, #DDE5ED 55%, #E0EBEB 100%); border: 1px solid #C5CFDA; border-radius: 16px; box-shadow: 0 12px 40px rgb(65 85 115 / 12%), inset 0 1px 0 rgb(255 255 255 / 80%); font-family: var(--font-sans); font-size: 13px; line-height: 1.5; }
.hero-demo [hidden] { display: none !important; }
.hero-demo button { cursor: pointer; }
.hero-demo button:focus-visible, .hero-demo summary:focus-visible, .hero-demo__table-scroll:focus-visible { outline: 2px solid var(--color-brand-secondary); outline-offset: 3px; }
.hero-demo__screen:focus { outline: none; }
.hero-demo__audiences { display: flex; align-items: center; justify-content: center; gap: 2px; width: fit-content; max-width: calc(100% - 16px); margin: 8px auto 16px; padding: 4px; border: 1px solid rgb(65 85 115 / 10%); border-radius: 999px; background: rgb(65 85 115 / 7%); box-shadow: inset 0 1px 2px rgb(65 85 115 / 5%); }
.hero-demo__audiences button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 190px; padding: 8px 20px; border: 1px solid transparent; border-radius: 999px; background: transparent; font-size: 12px; font-weight: 500; text-align: center; color: #6B7280; }
.hero-demo__audiences button[aria-selected="true"] { background: white; border-color: rgb(255 255 255 / 80%); color: var(--color-brand-secondary); font-weight: 600; box-shadow: 0 1px 3px rgb(15 23 42 / 10%); }
.hero-demo__audiences button:disabled { cursor: default; color: #6B7280; }
.hero-demo__panel { overflow: clip; border: 1px solid #CDD6E0; border-radius: 10px; background: white; }
.hero-demo__masthead { display: flex; align-items: center; gap: 24px; padding: 10px; background: #F4F6F9; border-bottom: 1px solid #DCE2EA; color: var(--color-brand-black); }
.hero-demo__browser-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: -0.025em; }
.hero-demo__browser-brand img { width: 18px; height: 18px; }
.hero-demo__address { flex: 1; min-width: 0; padding: 8px 16px; border: 1px solid #DCE2EA; border-radius: 8px; background: white; text-align: center; }
.hero-demo__masthead h2 { font-size: 12px; font-weight: 400; color: #6B7280; margin: 0; line-height: 1.5; }
.hero-demo__example { font-size: 10px; color: #6B7280; flex-shrink: 0; }
.hero-demo__project { padding: 12px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: white; }
.hero-demo__project > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hero-demo__reference { font-size: 10px; color: #6B7280; margin-left: 6px; }
.hero-demo__project h3 { font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: -0.025em; margin: 0; }
.hero-demo__tabs { display: flex; padding: 0 22px; gap: 24px; background: white; border-bottom: 1px solid var(--color-ui-border); overflow-x: auto; }
.hero-demo__tabs button { display: flex; gap: 7px; align-items: center; flex-shrink: 0; padding: 9px 0; border-bottom: 2px solid transparent; color: #6B7280; font-size: 12px; font-weight: 500; transition: color 0.2s; }
.hero-demo__tabs button:hover { color: var(--color-brand-black); }
.hero-demo__tabs button[aria-current="page"] { color: #0D8B73; border-bottom-color: var(--color-brand-secondary); font-weight: 600; }
.hero-demo__tabs button span { font-size: 10px; background: #F3F4F6; border-radius: 4px; padding: 0 5px; color: #6B7280; }
.hero-demo__viewport { height: clamp(300px, calc(100svh - 330px), 400px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; background: #FAFAFA; }
.hero-demo__screen { padding: 18px 22px; min-height: 100%; }
.hero-demo__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.hero-demo__heading h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.hero-demo__heading p { font-size: 11px; color: #6B7280; margin: 5px 0 0; }
.hero-demo__heading-separator { margin: 0 8px; font-weight: 400; color: #D1D5DB; }
.hero-demo__badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 3px 8px; border-radius: 4px; background: #F3F4F6; color: #6B7280; font-size: 10px; font-weight: 500; white-space: nowrap; }
.hero-demo__badge--strength { color: #15803D; background: #F0FDF4; }
.hero-demo__badge--critical { color: #B91C1C; background: #FEF2F2; }
.hero-demo__badge--major { color: #C2410C; background: #FFF7ED; }
.hero-demo__tone--critical { color: #B91C1C; }
.hero-demo__tone--major { color: #C2410C; }
.hero-demo__tone--strength { color: #15803D; }
.hero-demo__document-list, .hero-demo__table-scroll { border: 1px solid var(--color-ui-border); border-radius: 8px; overflow: hidden; background: white; }
.hero-demo__document-labels { display: flex; justify-content: space-between; padding: 10px 18px; font-size: 10px; color: #6B7280; background: #F9FAFB; border-bottom: 1px solid var(--color-ui-border); }
.hero-demo__document-labels span:last-child { width: 138px; }
.hero-demo__document-row { display: flex; align-items: center; gap: 14px; padding: 10px 18px; border-bottom: 1px solid #F3F4F6; }
.hero-demo__document-row:last-child { border: 0; }
.hero-demo__file-icon { width: 27px; height: 33px; flex-shrink: 0; color: var(--color-brand-secondary); }
.hero-demo__filename { min-width: 0; flex: 1; }
.hero-demo__filename strong { display: block; font-weight: 500; font-size: 12px; overflow-wrap: anywhere; }
.hero-demo__filename small, .hero-demo__table small { display: block; font-size: 10px; color: #6B7280; margin-top: 3px; }
.hero-demo__document-row > .hero-demo__badge { min-width: 138px; background: transparent; }
.hero-demo__document-row > .hero-demo__badge--strength { background: #F0FDF4; }
.hero-demo__actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.hero-demo__heading .hero-demo__actions { margin-top: 0; }
.hero-demo__button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; background: var(--color-brand-secondary); color: white; border-radius: 8px; font-size: 12px; font-weight: 500; white-space: nowrap; transition: background 0.2s; }
.hero-demo__button:hover { background: #0D8B73; }
.hero-demo__button--secondary { background: #F3F4F6; color: #374151; }
.hero-demo__button--secondary:hover { background: #E5E7EB; }
.hero-demo__footnote { color: #6B7280; font-size: 10px; margin: 10px 0 0; }
.hero-demo__loading { padding-top: 18px; }
.hero-demo__loading .m-progress-card { padding-top: 32px; padding-bottom: 32px; }
.hero-demo__loading .m-progress-card { background: transparent; }
.hero-demo__loading .text-ui-muted { color: #6B7280; }
.hero-demo__progress { height: 3px; background: #E5E7EB; margin: 0 auto 16px; width: 65%; overflow: hidden; border-radius: 999px; }
.hero-demo__progress span { display: block; width: 100%; height: 100%; background: var(--color-brand-secondary); transform-origin: left; animation: hero-demo-progress 1.8s linear both; }
.hero-demo__progress-steps { display: flex; gap: 16px; justify-content: center; color: #6B7280; font-size: 10px; }
.hero-demo__summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 12px; font-weight: 500; }
.hero-demo__summary > div { display: flex; gap: 6px; flex-shrink: 0; }
.hero-demo__finding { position: relative; border: 1px solid var(--color-ui-border); background: white; border-radius: 12px; margin-top: 10px; }
.hero-demo__finding summary { cursor: pointer; list-style: none; padding: 12px 40px 12px 16px; }
.hero-demo__finding summary::-webkit-details-marker { display: none; }
.hero-demo__finding summary:hover { background: #F9FAFB; border-radius: 12px; }
.hero-demo__finding-meta { display: flex; align-items: center; gap: 9px; font-size: 10px; color: #6B7280; }
.hero-demo__finding h4 { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; margin: 6px 0 0; }
.hero-demo__disclosure { position: absolute; top: 22px; right: 18px; font-size: 16px; color: #6B7280; }
.hero-demo__finding[open] .hero-demo__disclosure { transform: rotate(45deg); }
.hero-demo__finding-body { padding: 0 16px 12px; }
.hero-demo__finding-body > p { font-size: 12px; color: #4B5563; line-height: 1.5; margin: 0; }
.hero-demo__evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.hero-demo__evidence blockquote { margin: 0; background: #F9FAFB; border: 1px solid #F3F4F6; border-radius: 8px; padding: 10px 12px; }
.hero-demo__evidence cite { font-size: 10px; font-style: normal; color: #0D8B73; font-weight: 500; }
.hero-demo__evidence p { font-size: 11px; line-height: 1.5; color: #4B5563; margin: 6px 0 0; }
.hero-demo__finding-body .hero-demo__fix { font-size: 11px; color: #4B5563; }
.hero-demo__fix strong { color: #0D8B73; font-weight: 500; }
.hero-demo__table-scroll { overflow-x: auto; }
.hero-demo__table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
.hero-demo__table th { text-align: left; font-weight: 500; }
.hero-demo__table thead { background: #F9FAFB; color: #6B7280; font-size: 10px; }
.hero-demo__table th, .hero-demo__table td { padding: 10px 18px; border-bottom: 1px solid #F3F4F6; }
.hero-demo__table tbody tr:last-child > * { border: 0; }
.hero-demo__table tbody tr:hover { background: #F9FAFB; }
.hero-demo__table .hero-demo__numeric { font-variant-numeric: tabular-nums; }
.hero-demo__supplier { display: flex; gap: 16px; align-items: center; font-weight: 600; font-size: 14px; padding: 6px 0; color: #0D8B73; }
.hero-demo__supplier:hover { text-decoration: underline; }
.hero-demo__supplier span { font-size: 12px; }
.hero-demo__back { display: block; font-size: 11px; color: #6B7280; margin: -8px 0 16px; }
.hero-demo__back:hover { color: #0D8B73; }
.hero-demo__metrics { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; padding: 0 0 14px; }
.hero-demo__metrics > div + div { border-left: 1px solid var(--color-ui-border); padding-left: 24px; }
.hero-demo__metrics strong { display: block; font-size: 27px; letter-spacing: -0.035em; font-weight: 500; line-height: 1.4; font-variant-numeric: tabular-nums; }
.hero-demo__metrics strong span { color: #9CA3AF; font-size: 15px; margin-left: 4px; }
.hero-demo__metrics small { font-size: 10px; color: #6B7280; }
.hero-demo__comparison { min-width: 660px; }
.hero-demo__comparison td { text-align: center; font-variant-numeric: tabular-nums; }
.hero-demo__comparison thead th:not(:first-child) { text-align: center; font-size: 12px; color: #0A0A0A; font-weight: 600; }
.hero-demo__comparison tbody tr:first-child td { font-size: 17px; font-weight: 600; letter-spacing: -0.025em; }
.hero-demo__comparison th:first-child { position: sticky; left: 0; background: white; z-index: 1; width: 29%; }
.hero-demo__comparison thead th:first-child { background: #F9FAFB; }
.hero-demo__comparison tr:hover th:first-child { background: #F9FAFB; }
.hero-demo__insight { padding: 12px 16px; margin-top: 12px; background: #FFF7ED; border: 1px solid #FFEDD5; border-radius: 8px; }
.hero-demo__insight strong { font-weight: 500; font-size: 12px; }
.hero-demo__insight p { color: #4B5563; font-size: 11px; margin: 5px 0 0; }
.hero-demo__player { display: flex; align-items: center; gap: 16px; padding: 10px 14px 3px; color: #4B5563; white-space: nowrap; }
.hero-demo__play-status { display: flex; align-items: center; gap: 7px; flex-shrink: 0; font-size: 10px; color: #4B5563; }
.hero-demo__play-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #9CA3AF; }
.hero-demo[data-playing="true"] .hero-demo__play-status::before { background: var(--color-brand-secondary); }
.hero-demo__caption { flex: 1; min-width: 0; padding-left: 16px; border-left: 1px solid #CDD6E0; font-size: 11px; margin: 0; overflow: hidden; text-overflow: ellipsis; }
.hero-demo__play { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex-shrink: 0; min-height: 36px; padding: 8px 12px; border: 1px solid #D3DBE4; border-radius: 8px; font-size: 11px; color: #374151; background: white; transition: background 0.2s; }
.hero-demo__play::before { content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid #0D8B73; }
.hero-demo[data-playing="true"] .hero-demo__play::before { width: 7px; height: 10px; border: 0; border-left: 2px solid #0D8B73; border-right: 2px solid #0D8B73; }
.hero-demo__play:hover { background: #EDF1F6; }
.hero-demo__disclaimer { margin-left: auto; flex-shrink: 0; color: #6B7280; font-size: 10px; }
.hero-demo__cursor { position: absolute; top: 0; left: 0; z-index: 5; width: 28px; height: 34px; pointer-events: none; will-change: transform; }
.hero-demo__cursor svg { position: relative; filter: drop-shadow(0 2px 3px #0003); transition: transform 0.12s ease; transform-origin: 2px 2px; }
.hero-demo__cursor--click svg { transform: scale(0.85); }
.hero-demo__click-ring { position: absolute; width: 36px; height: 36px; top: -16px; left: -16px; border: 2px solid var(--color-brand-secondary); background: rgb(26 180 153 / 12%); border-radius: 50%; opacity: 0; }
.hero-demo__cursor--click .hero-demo__click-ring { animation: hero-demo-click 0.25s ease-out both; }
.hero-demo .hero-demo__simulated-hover { outline: 2px solid rgb(26 180 153 / 35%); outline-offset: 3px; }
.hero-demo .hero-demo__simulated-press { transform: scale(0.97); }
@keyframes hero-demo-click { from { opacity: 0.9; transform: scale(0.3); } to { opacity: 0; transform: scale(1.25); } }
.hero-demo[data-suspended="true"] .m-progress-card *, .hero-demo[data-suspended="true"] .m-progress-card *::before, .hero-demo[data-suspended="true"] .m-progress-card *::after, .hero-demo[data-suspended="true"] .hero-demo__progress span { animation-play-state: paused !important; }
@keyframes hero-demo-progress { from { transform: scaleX(0.04); } to { transform: scaleX(1); } }
@keyframes hero-demo-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) { .hero-demo__screen:not([hidden]) { animation: hero-demo-enter 0.3s ease-out; } }
@media (max-width: 767px) {
  .hero-demo { padding: 5px; }
  .hero-demo__audiences { width: calc(100% - 12px); max-width: none; margin: 6px auto 12px; padding: 3px; }
  .hero-demo__audiences button { min-width: 0; flex: 1; gap: 5px; padding: 8px; font-size: 11px; white-space: nowrap; }
  .hero-demo__masthead { padding: 8px 7px; gap: 10px; }
  .hero-demo__browser-brand { font-size: 12px; }
  .hero-demo__address { display: none; }
  .hero-demo__masthead .hero-demo__play { margin-left: auto; }
  .hero-demo__play { width: 36px; padding: 8px; font-size: 0; gap: 0; }
  .hero-demo__project { padding: 12px; }
  .hero-demo__project h3 { font-size: 12px; }
  .hero-demo__project .hero-demo__reference, .hero-demo__example { display: none; }
  .hero-demo__tabs { padding: 0 16px; gap: 20px; }
  .hero-demo__tabs button { font-size: 11px; }
  .hero-demo__viewport { height: clamp(300px, calc(100svh - 310px), 400px); }
  .hero-demo__screen { padding: 16px 12px; }
  .hero-demo__heading { flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
  .hero-demo__heading h3 { font-size: 16px; }
  .hero-demo__document-row { gap: 7px 10px; padding: 10px 12px; flex-wrap: wrap; }
  .hero-demo__document-row > .hero-demo__badge { margin-left: 37px; min-width: 0; padding: 0; }
  .hero-demo__filename { flex-basis: calc(100% - 42px); }
  .hero-demo__document-labels span:last-child { display: none; }
  .hero-demo__filename strong { font-size: 11px; }
  .hero-demo__actions { gap: 8px; }
  .hero-demo__button { padding: 10px 12px; font-size: 11px; white-space: normal; text-align: center; }
  .hero-demo__summary { flex-wrap: wrap; }
  .hero-demo__finding-meta { flex-wrap: wrap; gap: 6px; }
  .hero-demo__finding h4 { font-size: 13px; }
  .hero-demo__evidence { grid-template-columns: 1fr; }
  .hero-demo__metrics { gap: 12px; }
  .hero-demo__metrics > div + div { padding-left: 12px; }
  .hero-demo__metrics strong { font-size: 20px; }
  .hero-demo__metrics small { font-size: 9px; }
  .hero-demo__bids { min-width: 540px; }
  .hero-demo__table th, .hero-demo__table td { padding: 12px; }
  .hero-demo__comparison { min-width: 600px; }
  .hero-demo__player { padding: 10px 8px 5px; gap: 10px; }
  .hero-demo__caption { display: none; }
  .hero-demo__play-status, .hero-demo__disclaimer { font-size: 9px; }
  .hero-demo__progress-steps { font-size: 9px; text-align: center; }
  .hero-demo__loading { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-demo *, .hero-demo *::before, .hero-demo *::after { animation: none !important; transition: none !important; }
  .hero-demo__cursor { display: none !important; }
}

/* Vendor preparation, review, and document drafting. */
.hero-demo__audiences button:not([aria-selected="true"]):hover { color: var(--color-brand-black); background: rgb(255 255 255 / 35%); }
.hero-demo__checklist { border: 1px solid var(--color-ui-border); border-radius: 8px; overflow: hidden; background: white; }
.hero-demo__checklist-labels { display: flex; justify-content: space-between; padding: 9px 16px; background: #F9FAFB; color: #6B7280; font-size: 10px; }
.hero-demo__checklist-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-top: 1px solid #F3F4F6; cursor: pointer; }
.hero-demo__checklist-row:hover { background: #F9FAFB; }
.hero-demo__checklist-row input { width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--color-brand-secondary); cursor: pointer; }
.hero-demo__checklist-row input:focus-visible { outline: 2px solid var(--color-brand-secondary); outline-offset: 3px; }
.hero-demo__checklist-task { flex: 1; min-width: 0; }
.hero-demo__checklist-task strong { font-size: 12px; font-weight: 500; display: block; }
.hero-demo__checklist-task small { display: block; color: #6B7280; font-size: 10px; margin-top: 2px; }
.hero-demo__checklist-row input:checked + .hero-demo__checklist-task strong { text-decoration: line-through; color: #6B7280; }
.hero-demo__checklist-source { color: #6B7280; font-size: 10px; text-align: right; }
.hero-demo__upload { padding: 28px 20px; text-align: center; border: 1px dashed #D1D5DB; border-radius: 8px; background: white; }
.hero-demo__upload > svg { color: var(--color-brand-secondary); margin: 0 auto 12px; }
.hero-demo__upload h4 { font-size: 15px; font-weight: 500; margin: 0; }
.hero-demo__upload p { font-size: 11px; color: #6B7280; margin: 6px 0 18px; }
.hero-demo__upload small { display: block; font-size: 10px; color: #6B7280; margin-top: 12px; }
.hero-demo__workflow { display: flex; align-items: center; gap: 20px; overflow-x: auto; margin: 0 0 14px; padding: 0 0 12px; border-bottom: 1px solid var(--color-ui-border); list-style: none; }
.hero-demo__workflow li { display: flex; align-items: center; gap: 6px; font-size: 10px; color: #6B7280; white-space: nowrap; }
.hero-demo__workflow li[aria-current="step"] { color: var(--color-brand-black); font-weight: 600; }
.hero-demo__workflow-number { font-variant-numeric: tabular-nums; color: #9CA3AF; }
.hero-demo__workflow li[aria-current="step"] .hero-demo__workflow-number { color: var(--color-brand-secondary); }
.hero-demo__plan-table td { color: #6B7280; font-size: 11px; }
.hero-demo__draft-layout { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 16px; }
.hero-demo__draft-files { display: flex; flex-direction: column; gap: 4px; }
.hero-demo__draft-files button { padding: 10px 12px; border: 1px solid transparent; border-radius: 8px; color: #4B5563; text-align: left; font-size: 11px; }
.hero-demo__draft-files button:hover { background: #F3F4F6; }
.hero-demo__draft-files button[aria-pressed="true"] { background: white; border-color: var(--color-ui-border); color: var(--color-brand-black); font-weight: 600; }
.hero-demo__draft-files small { display: block; font-size: 9px; color: #6B7280; font-weight: 400; margin-top: 3px; }
.hero-demo__draft-page { background: white; border: 1px solid var(--color-ui-border); border-radius: 8px; padding: 20px 24px; }
.hero-demo__draft-source { display: block; font-size: 10px; color: #6B7280; }
.hero-demo__draft-page h4 { font-size: 16px; line-height: 1.4; font-weight: 600; margin: 12px 0; }
.hero-demo__draft-page p { font-size: 12px; color: #4B5563; line-height: 1.7; margin: 0; }
.hero-demo__draft-page .hero-demo__draft-input { background: #FFF7ED; color: #C2410C; border-radius: 4px; padding: 8px 10px; margin-top: 14px; font-size: 11px; }
@media (max-width: 767px) {
  .hero-demo__checklist-row { flex-wrap: wrap; gap: 3px 9px; padding: 10px 12px; }
  .hero-demo__checklist-task { flex-basis: calc(100% - 28px); }
  .hero-demo__checklist-task strong { font-size: 11px; }
  .hero-demo__checklist-source { margin-left: 25px; text-align: left; font-size: 9px; }
  .hero-demo__checklist-labels span:last-child { display: none; }
  .hero-demo__workflow { gap: 16px; }
  .hero-demo__upload { padding: 24px 14px; }
  .hero-demo__plan-table { min-width: 440px; }
  .hero-demo__draft-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hero-demo__draft-files { flex-direction: row; overflow-x: auto; }
  .hero-demo__draft-files button { flex: 0 0 130px; font-size: 10px; }
  .hero-demo__draft-page { padding: 16px; }
  .hero-demo__draft-page h4 { font-size: 14px; }
}
