.product-page--testcase-demo { --accent: #079db9; --accent-soft: #a9edf5; }
.product-page--testcase-demo .product-hero { grid-template-columns: minmax(390px, .76fr) minmax(560px, 1.24fr); gap: clamp(42px, 5vw, 72px); }
.product-page--testcase-demo .product-hero-copy h1 { font-size: clamp(56px, 5vw, 74px); white-space: nowrap; }
.product-hero-demo--testcase { width: min(100%, 540px); padding: 30px; justify-self: center; border-color: rgba(7,157,185,.15); background: radial-gradient(circle at 8% 8%, rgba(127,106,244,.2), transparent 30%), radial-gradient(circle at 92% 88%, rgba(43,203,213,.26), transparent 34%), #eef4f7; }
.product-hero-demo--testcase::before { background: rgba(43,203,213,.35); }
.product-hero-demo--testcase::after { background: rgba(108,90,235,.16); }
.tc-hero-workbook { position: relative; z-index: 1; overflow: hidden; color: #263139; background: #fff; border: 1px solid #d8e1e3; border-radius: 17px; box-shadow: 0 26px 60px rgba(29,55,66,.18), inset 0 1px rgba(255,255,255,.96); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.tc-sheet-titlebar { height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 10px; color: #fff; background: linear-gradient(100deg, #16764f, #118864); font-size: 12px; }
.tc-xlsx-icon { width: 23px; height: 23px; display: grid; place-items: center; flex: none; color: #16764f; background: #fff; border-radius: 6px; font-size: 12px; font-weight: 850; }
.tc-sheet-titlebar strong { letter-spacing: .02em; }
.tc-sheet-titlebar > span:last-child { margin-left: auto; color: rgba(255,255,255,.72); font-size: 10px; }
.tc-sheet-toolbar { height: 38px; padding: 0 13px; display: flex; align-items: center; gap: 9px; color: #68747a; background: #edf4f1; border-bottom: 1px solid #d9e5e0; font-size: 10px; }
.tc-sheet-toolbar b { padding: 6px 9px; color: #155f47; background: #fff; border: 1px solid #d3e0da; border-radius: 6px; }
.tc-sheet-toolbar i { width: 20px; height: 8px; background: #cad9d2; border-radius: 3px; }
.tc-sheet-toolbar span { margin-left: 5px; font: 700 10px/1 ui-monospace, monospace; }
.tc-sheet-toolbar em { min-width: 0; flex: 1; padding: 6px 9px; overflow: hidden; color: #82908b; background: #fff; border: 1px solid #d4dfdb; border-radius: 5px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.tc-sheet-head, .tc-sheet-row { display: grid; grid-template-columns: 34px 104px 126px minmax(136px, 1fr) 78px; align-items: stretch; }
.tc-sheet-head { min-height: 38px; color: #285f49; background: #d9eee5; border-bottom: 1px solid #bdd8cc; font-size: 11px; font-weight: 750; }
.tc-sheet-head > * { padding: 0 9px; display: flex; align-items: center; border-right: 1px solid #c3dcd2; }
.tc-sheet-head > :first-child { justify-content: center; color: #78837f; background: #eef2f1; }
.tc-sheet-head > :last-child { justify-content: center; border-right: 0; }
.tc-sheet-viewport { height: 198px; overflow: hidden; background: #fff; }
.tc-sheet-rows { transform: translateY(0); transition: transform .8s ease-out; will-change: transform; }
.tc-sheet-row { min-height: 62px; color: #39434a; border-bottom: 1px solid #e0e7e5; font-size: 11px; }
.tc-sheet-row:nth-child(even) { background: #f8faf9; }
.tc-sheet-row > * { min-width: 0; padding: 9px; display: flex; align-items: center; border-right: 1px solid #e3e9e7; }
.tc-sheet-row > span { justify-content: center; color: #7b8589; background: #f0f3f3; }
.tc-sheet-row code { color: #17684f; font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.tc-sheet-row > strong { line-height: 1.4; }
.tc-sheet-row p { margin: 0; display: grid; align-content: center; gap: 4px; color: #626d73; font-size: 10px; line-height: 1.25; }
.tc-sheet-row p i { overflow: hidden; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.tc-sheet-row > b { align-self: center; justify-self: center; width: fit-content; height: 23px; padding: 0 10px; justify-content: center; color: #fff; border: 0; border-radius: 999px; font-size: 9px; letter-spacing: .04em; }
.tc-result--pass { background: #219868; box-shadow: 0 5px 12px rgba(33,152,104,.2); }
.tc-result--fail { background: #df555c; box-shadow: 0 5px 12px rgba(223,85,92,.2); }
.tc-sheet-tabs { height: 40px; padding: 0 13px; display: flex; align-items: center; gap: 10px; color: #68756f; background: #e9f0ed; border-top: 1px solid #d2dfd9; font-size: 10px; }
.tc-sheet-tabs button { height: 28px; padding: 0 17px; color: #17664d; background: #fff; border: 1px solid #c9d9d1; border-radius: 7px; font-size: 10px; font-weight: 750; }
.tc-sheet-tabs > span { font-size: 17px; }
.tc-sheet-tabs small { margin-left: auto; color: #89948f; font-size: 9px; }
.product-hero-demo--testcase:is(:hover, .is-scroll-animating) .tc-sheet-rows { transform: translateY(-174px); transition: transform 4.1s cubic-bezier(.42, 0, .35, 1); }

@media (min-width: 821px) and (max-width: 1024px) {
  .product-page--testcase-demo .product-hero { grid-template-columns: 1fr; }
  .product-page--testcase-demo .product-hero-copy h1 { white-space: normal; }
  .product-hero-demo--testcase { margin-top: 8px; }
}

.editorial-block--tc-invocation { padding: 120px 0; display: block; }
.tc-section-intro { margin-bottom: 52px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: end; gap: clamp(54px, 8vw, 108px); }
.tc-section-intro h2 { margin-bottom: 0; }
.tc-section-intro > div:last-child > p { margin: 0; color: #555b67; font-size: 18px; line-height: 1.8; }
.tc-section-intro > div:last-child > p + p { margin-top: 10px; color: #7d838d; font-size: 15px; }
.tc-call-demo { overflow: hidden; background: #eef2f4; border: 1px solid rgba(42,59,68,.14); border-radius: 27px; box-shadow: 0 32px 90px rgba(39,60,70,.12); }
.tc-call-tabs { padding: 11px 11px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: linear-gradient(180deg, #edf2f4, #e7edef); border-bottom: 1px solid #dce4e6; }
.tc-call-tab { position: relative; min-width: 0; min-height: 76px; padding: 13px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 13px; color: #717b80; background: transparent; border: 1px solid transparent; border-bottom: 0; border-radius: 15px 15px 0 0; cursor: pointer; text-align: left; }
.tc-call-tab > span { min-width: 52px; height: 31px; grid-row: 1 / 3; display: grid; place-items: center; align-self: center; color: #fff; background: #0e9ab4; border-radius: 8px; font-size: 12px; font-weight: 850; letter-spacing: .08em; }
.tc-call-tab:last-child > span { background: #282d36; }
.tc-call-tab strong { overflow: hidden; color: #3c4449; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.tc-call-tab small { margin-top: 5px; overflow: hidden; color: #7f898e; font: 550 12px/1.2 ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }
.tc-call-tab:hover { background: rgba(255,255,255,.48); }
.tc-call-tab.is-active { z-index: 1; color: #24292d; background: #fff; border-color: #dce4e6; box-shadow: 0 -8px 24px rgba(42,57,65,.05); }
.tc-call-tab.is-active::after { content: ""; position: absolute; height: 2px; inset: auto 0 -1px; background: #fff; }
.tc-call-tab:focus-visible { outline: 2px solid rgba(7,157,185,.7); outline-offset: -3px; }
.tc-call-stage { padding: 18px; background: #fff; }
.tc-call-panel[hidden] { display: none; }
.tc-agent-shot, .tc-cli-shot { height: 650px; margin: 0; overflow: hidden; background: #fff; border: 1px solid #e0e5e7; border-radius: 17px; box-shadow: 0 17px 44px rgba(35,52,61,.08); }
.tc-agent-titlebar { height: 48px; padding: 0 15px; display: flex; align-items: center; gap: 10px; color: #747d82; background: #f2f4f5; border-bottom: 1px solid #e2e6e8; font-size: 13px; }
.tc-agent-brand { width: 24px; height: 24px; display: grid; place-items: center; color: #fff; background: #0b9ab5; border-radius: 7px; font: 800 12px/1 ui-monospace, monospace; }
.tc-agent-titlebar strong { color: #343a3e; }
.tc-agent-titlebar small { margin-right: auto; color: #7f898e; font-size: 12px; }
.tc-agent-titlebar > i { width: 9px; height: 9px; background: #ff5f57; border-radius: 50%; }
.tc-agent-titlebar > i:nth-last-child(2) { background: #febc2e; }
.tc-agent-titlebar > i:last-child { background: #28c840; }
.tc-agent-layout { height: 602px; display: grid; grid-template-columns: 176px minmax(0, 1fr); }
.tc-agent-layout aside { padding: 22px 14px; display: grid; align-content: start; gap: 8px; color: #687278; background: #f2f5f6; border-right: 1px solid #e1e6e8; }
.tc-agent-layout aside > * { min-height: 38px; padding: 0 11px; display: flex; align-items: center; border-radius: 9px; font-size: 12px; }
.tc-agent-layout aside > * > i { width: 20px; flex: none; color: #5b6a70; font-style: normal; text-align: center; }
.tc-agent-layout aside b { color: #243137; background: #fff; box-shadow: 0 4px 12px rgba(38,58,67,.07); }
.tc-agent-layout aside small { margin-top: 19px; min-height: auto; color: #858f94; font: 650 12px/1.4 ui-monospace, monospace; letter-spacing: .06em; }
.tc-agent-thread { min-width: 0; padding: 26px 30px 18px; display: flex; flex-direction: column; background: #fff; }
.tc-agent-user { max-width: 82%; padding: 13px 16px; align-self: flex-end; color: #374147; background: #eaf8fa; border: 1px solid #cfedf1; border-radius: 15px 15px 5px 15px; font-size: 13px; font-weight: 600; line-height: 1.55; }
.tc-agent-user code { color: #087f96; font-size: 12px; }
.tc-agent-reply { max-width: 94%; margin-top: 18px; display: grid; grid-template-columns: 29px minmax(0, 1fr); gap: 12px; }
.tc-agent-reply > span { width: 29px; height: 29px; display: grid; place-items: center; color: #fff; background: #314149; border-radius: 50%; font: 800 12px/1 ui-monospace, monospace; }
.tc-agent-reply p { margin: 1px 0 10px; color: #4d585e; font-size: 13px; line-height: 1.55; }
.tc-agent-tools { margin: 0; padding: 0; display: grid; gap: 7px; list-style: none; }
.tc-agent-tools li { min-height: 56px; padding: 8px 11px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 9px; background: #fafbfb; border: 1px solid #e7ebec; border-radius: 10px; }
.tc-agent-tools li::before { content: none; }
.tc-agent-tools li > i { width: 22px; height: 22px; display: grid; place-items: center; color: #118464; background: #e3f5ef; border-radius: 50%; font-size: 12px; font-style: normal; font-weight: 800; }
.tc-agent-tools strong, .tc-agent-tools code { display: block; }
.tc-agent-tools strong { margin-bottom: 4px; color: #313a3f; font-size: 13px; }
.tc-agent-tools code { overflow-wrap: anywhere; color: #6f7a80; font: 500 12px/1.35 ui-monospace, monospace; }
.tc-agent-tools em { color: #168568; font-size: 12px; font-style: normal; }
.tc-agent-reply .tc-agent-success { margin-top: 10px; color: #17785e; font-weight: 650; }
.tc-agent-composer { min-height: 66px; margin-top: auto; padding: 11px 13px; display: flex; align-items: center; gap: 12px; color: #7f898e; background: #fff; border: 1px solid #dce2e4; border-radius: 14px; font-size: 12px; }
.tc-agent-composer b { margin-left: auto; color: #16849c; font-size: 12px; }
.tc-agent-composer i { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: #0d98b1; border-radius: 50%; font-style: normal; }
.tc-terminal-bar { height: 50px; padding: 0 17px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #6f797e; background: #eef1f2; border-bottom: 1px solid #dde3e5; font: 600 12px/1 ui-monospace, monospace; }
.tc-terminal-bar > span { display: flex; gap: 7px; }
.tc-terminal-bar i { width: 10px; height: 10px; background: #ff5f57; border-radius: 50%; }
.tc-terminal-bar i:nth-child(2) { background: #febc2e; }
.tc-terminal-bar i:nth-child(3) { background: #28c840; }
.tc-terminal-bar small { justify-self: end; color: #1a8a70; font-size: 12px; }
.tc-cli-shot { color: #29343a; background: #f8fafb; }
.tc-cli-body { padding: 32px 38px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tc-cli-context { padding: 15px 17px; display: grid; gap: 5px; color: #44545b; background: #e9f7f8; border: 1px solid #d1ecef; border-radius: 11px; }
.tc-cli-context span { color: #0789a2; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.tc-cli-context strong { font-size: 15px; }
.tc-cli-context small { color: #66767d; font-size: 12px; }
.tc-cli-body > p { margin: 28px 0 0; display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 9px; color: #2d373d; font-size: 13px; line-height: 1.7; }
.tc-cli-body > p b { color: #098fab; }
.tc-cli-body > p code { overflow-wrap: anywhere; }
.tc-cli-body > p code span { color: #5855c9; }
.tc-cli-progress { margin-top: 25px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 13px; }
.tc-cli-progress > span { height: 7px; overflow: hidden; background: #dfe7e8; border-radius: 99px; }
.tc-cli-progress i { width: var(--completion); height: 100%; display: block; background: linear-gradient(90deg, #0da2bc, #20b887); border-radius: inherit; }
.tc-cli-progress strong { color: #148268; font-size: 12px; }
.tc-cli-body pre { margin: 20px 0 0; padding: 16px; display: grid; gap: 8px; overflow: hidden; color: #65747a; background: #fff; border: 1px solid #e1e7e8; border-radius: 10px; font: 500 12px/1.5 ui-monospace, monospace; white-space: pre-wrap; }
.tc-cli-body pre b { color: #316a9c; }

.tc-feature { padding: 120px 0; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(56px, 7vw, 100px); }
.tc-feature--journey { grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr); }
.tc-feature-copy h2 { margin-bottom: 26px; }
.tc-feature-copy > p:last-child { margin: 0; color: #555b67; font-size: 19px; line-height: 1.82; }
.tc-matrix-demo, .tc-journey-demo, .tc-concurrency-demo { position: relative; min-width: 0; margin: 0; overflow: hidden; background: radial-gradient(circle at 82% 6%, rgba(55,205,213,.21), transparent 30%), radial-gradient(circle at 8% 91%, rgba(107,91,232,.18), transparent 36%), #f0f4f6; border: 1px solid rgba(7,157,185,.12); border-radius: 31px; box-shadow: inset 0 1px rgba(255,255,255,.9), 0 30px 80px rgba(39,60,70,.11); }
.tc-matrix-demo { height: 560px; padding: 27px; }
.tc-matrix-titlebar { height: 45px; padding: 0 13px; display: flex; align-items: center; gap: 9px; color: #fff; background: linear-gradient(100deg, #16764f, #118864); border-radius: 14px 14px 0 0; font-size: 13px; }
.tc-matrix-titlebar small { margin-left: auto; color: rgba(255,255,255,.82); font-size: 12px; }
.tc-matrix-formula { height: 40px; padding: 0 11px; display: flex; align-items: center; gap: 9px; color: #5f6d72; background: #eef4f1; border: 1px solid #d7e2de; border-top: 0; font-size: 12px; }
.tc-matrix-formula b { padding: 5px 8px; color: #17664d; background: #fff; border: 1px solid #d1ddd8; border-radius: 4px; }
.tc-matrix-formula span { font: 700 12px/1 ui-monospace, monospace; }
.tc-matrix-formula code { min-width: 0; flex: 1; padding: 5px 8px; overflow: hidden; background: #fff; border: 1px solid #d6e0dc; border-radius: 4px; text-overflow: ellipsis; white-space: nowrap; }
.tc-matrix-table { position: relative; overflow: hidden; background: #fff; border-inline: 1px solid #d9e2df; }
.tc-matrix-row { min-height: 52px; display: grid; grid-template-columns: 84px 78px minmax(142px, 1fr) 92px 58px 70px 72px; align-items: stretch; color: #445158; border-bottom: 1px solid #e1e7e5; font-size: 12px; }
.tc-matrix-row:nth-child(odd):not(.tc-matrix-head) { background: #f9fbfa; }
.tc-matrix-row > span { min-width: 0; padding: 8px 7px; display: flex; align-items: center; border-right: 1px solid #e4e9e8; line-height: 1.35; }
.tc-matrix-row > span:last-child { border-right: 0; }
.tc-matrix-head { min-height: 40px; color: #285f49; background: #d9eee5; font-size: 12px; font-weight: 750; }
.tc-matrix-row .is-id { color: #11664c; font-family: ui-monospace, monospace; font-weight: 750; }
.tc-matrix-row .is-risk, .tc-matrix-row .is-confirmed { justify-content: center; }
.tc-matrix-row .is-risk::before { content: ""; width: 7px; height: 7px; margin-right: 5px; background: #eaa541; border-radius: 50%; }
.tc-matrix-row .is-risk--high::before { background: #e05d62; }
.tc-matrix-row .is-confirmed { color: #198363; font-weight: 700; }
.tc-matrix-scan { position: absolute; z-index: 2; height: 58px; inset: 38px 0 auto; opacity: 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(30,184,193,.12), transparent); border-block: 1px solid rgba(14,156,179,.2); }
.tc-matrix-tabs { height: 42px; padding: 0 12px; display: flex; align-items: center; gap: 12px; color: #62736b; background: #e8f0ed; border: 1px solid #d6e1dc; border-top: 0; border-radius: 0 0 14px 14px; font-size: 12px; }
.tc-matrix-tabs b { height: 28px; padding: 0 14px; display: flex; align-items: center; color: #17664d; background: #fff; border: 1px solid #cbdad3; border-radius: 6px; }
.tc-matrix-tabs i { font-size: 15px; font-style: normal; }
.tc-matrix-tabs small { margin-left: auto; color: #73827b; font-size: 12px; }
.tc-matrix-demo:is(:hover, .is-scroll-animating) .tc-matrix-scan { animation: tc-matrix-scan 4.8s cubic-bezier(.35,.05,.25,1) both; }
.tc-matrix-demo:is(:hover, .is-scroll-animating) .tc-matrix-row:not(.tc-matrix-head) { animation: tc-matrix-row 4.8s ease calc(var(--row) * .14s) both; }
@keyframes tc-matrix-scan { 0% { opacity: 0; transform: translateY(0); } 8% { opacity: 1; } 82% { opacity: 1; transform: translateY(286px); } 100% { opacity: 0; transform: translateY(286px); } }
@keyframes tc-matrix-row { 0%, 12% { background-color: inherit; } 22% { background-color: #e9f8f5; } 38%, 100% { background-color: inherit; } }

.tc-journey-demo { height: 460px; padding: 28px; }
.tc-journey-top { display: flex; align-items: center; justify-content: space-between; }
.tc-journey-top > div { display: grid; gap: 5px; }
.tc-journey-top span { color: #0793ac; font: 800 10px/1 ui-monospace, monospace; letter-spacing: .08em; }
.tc-journey-top strong { font-size: 18px; }
.tc-journey-top > b { padding: 8px 11px; color: #fff; background: #28343b; border-radius: 9px; font: 800 10px/1 ui-monospace, monospace; letter-spacing: .06em; }
.tc-route { position: relative; margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 154px; gap: 14px; }
.tc-route-stage { position: relative; min-width: 0; padding: 19px 18px; display: flex; flex-direction: column; align-items: flex-start; isolation: isolate; overflow: hidden; color: #37444a; background: rgba(255,255,255,.92); border: 1px solid #d8e3e5; border-radius: 16px; box-shadow: 0 12px 28px rgba(33,55,64,.07); text-align: left; }
.tc-route-brand { position: absolute; z-index: 0; width: 58px; height: 58px; right: 12px; bottom: 10px; opacity: .5; pointer-events: none; }
.tc-route-stage small, .tc-route-stage strong, .tc-route-stage em { position: relative; z-index: 1; }
.tc-route-stage small { color: #078ba4; font: 800 11px/1.1 ui-monospace, monospace; letter-spacing: .02em; }
.tc-route-stage strong { max-width: 100%; margin-top: 13px; font-size: 14px; line-height: 1.42; }
.tc-route-stage em { max-width: calc(100% - 68px); margin-top: auto; color: #77858b; font-size: 11px; font-style: normal; line-height: 1.35; }
.tc-journey-demo:is(:hover, .is-scroll-animating) .tc-route-stage { animation: tc-route-stage 5.4s ease calc(var(--stage) * .72s) both; }
@keyframes tc-route-stage { 0%, 10% { transform: translateY(0); border-color: #dae4e6; box-shadow: 0 12px 28px rgba(33,55,64,.07); } 18% { transform: translateY(-8px) scale(1.035); border-color: rgba(8,157,184,.5); box-shadow: 0 22px 38px rgba(8,145,169,.18); } 32%, 100% { transform: none; border-color: #dae4e6; box-shadow: 0 12px 28px rgba(33,55,64,.07); } }

.tc-concurrency-demo { height: 404px; padding: 25px; }
.tc-mode-panel { padding: 18px; background: rgba(255,255,255,.91); border: 1px solid #dce5e7; border-radius: 15px; box-shadow: 0 15px 34px rgba(35,57,66,.08); }
.tc-mode-heading { display: flex; align-items: center; gap: 7px; color: #374248; }
.tc-mode-heading > span { color: #e45b60; }
.tc-mode-heading strong { font-size: 12px; }
.tc-mode-heading small { margin-left: auto; color: #919a9f; font-size: 9px; }
.tc-mode-grid { margin-top: 13px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.tc-mode-card { min-height: 50px; padding: 0 12px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 9px; appearance: none; color: #4c575d; background: #fbfcfc; border: 1px solid #dce3e5; border-radius: 9px; cursor: pointer; font: inherit; font-size: 12px; text-align: left; transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.tc-mode-card > i { width: 14px; height: 14px; border: 1px solid #cbd4d7; border-radius: 50%; box-shadow: inset 0 0 0 3px #fff; }
.tc-mode-card:hover { color: #273940; background: #f5fafb; border-color: #b8dce3; transform: translateY(-1px); }
.tc-mode-card:focus-visible { outline: 2px solid rgba(12,159,186,.55); outline-offset: 2px; }
.tc-mode-card.is-selected { color: #24363d; background: #f2fbfc; border-color: #0c9fba; box-shadow: 0 0 0 1px rgba(12,159,186,.08), 0 8px 18px rgba(12,159,186,.07); }
.tc-mode-card.is-selected > i { background: #168ee8; border-color: #168ee8; }
.tc-mode-panel > p { margin: 9px 0 0; color: #989fa3; font-size: 9px; line-height: 1.4; }
.tc-daemon-terminal { margin-top: 18px; overflow: hidden; color: #303a40; background: #fafbfc; border: 1px solid #dce3e5; border-radius: 13px; box-shadow: 0 14px 30px rgba(33,55,64,.08); }
.tc-daemon-terminal .tc-terminal-bar { height: 42px; font-size: 11px; }
.tc-daemon-terminal > p { margin: 0; padding: 19px 18px 10px; display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 9px; color: #344047; font: 550 13px/1.6 ui-monospace, monospace; }
.tc-daemon-terminal > p b { color: #0c97b1; }
.tc-daemon-terminal > p code { overflow-wrap: anywhere; }
.tc-daemon-terminal > small { padding: 0 18px 18px 41px; display: flex; align-items: center; gap: 8px; color: #68777d; font: 500 11px/1.45 ui-monospace, monospace; }
.tc-daemon-terminal > small i { width: 7px; height: 7px; background: #20aa7d; border-radius: 50%; }
.editorial-sections > .tc-feature--concurrency:last-child { border-bottom: 0; }

@media (max-width: 820px) {
.product-page--testcase-demo .product-hero { grid-template-columns: 1fr; }
  .product-page--testcase-demo .product-hero-copy h1 { white-space: normal; }
  .product-hero-demo--testcase { width: min(100%, 540px); justify-self: center; }
  .editorial-block--tc-invocation { padding: 92px 0; }
  .tc-section-intro { margin-bottom: 44px; grid-template-columns: 1fr; gap: 22px; }
  .tc-feature, .tc-feature--journey { padding: 92px 0; grid-template-columns: 1fr; gap: 48px; }
  .tc-feature-copy { max-width: 720px; }
  .tc-feature--journey .tc-feature-copy { order: -1; }
  .tc-matrix-demo, .tc-journey-demo, .tc-concurrency-demo { width: min(100%, 720px); justify-self: center; }
}

@media (max-width: 560px) {
.product-page--testcase-demo .product-hero-copy h1 { font-size: 46px; letter-spacing: -.045em; white-space: nowrap; }
  .product-hero-demo--testcase { padding: 12px; border-radius: 22px; }
  .product-hero-demo--testcase::before, .product-hero-demo--testcase::after { opacity: .65; }
  .tc-hero-workbook { border-radius: 13px; }
  .tc-sheet-titlebar { height: 39px; padding-inline: 10px; font-size: 10px; }
  .tc-sheet-titlebar > span:last-child { display: none; }
  .tc-xlsx-icon { width: 21px; height: 21px; font-size: 10px; }
  .tc-sheet-toolbar { height: 35px; padding-inline: 8px; gap: 6px; font-size: 10px; }
  .tc-sheet-toolbar b { padding: 5px 6px; }
  .tc-sheet-toolbar i { display: none; }
  .tc-sheet-toolbar em { font-size: 10px; }
  .tc-sheet-head, .tc-sheet-row { grid-template-columns: 27px 76px minmax(70px, .8fr) minmax(100px, 1.2fr) 57px; }
  .tc-sheet-head { min-height: 34px; font-size: 10px; }
  .tc-sheet-head > * { padding-inline: 5px; }
  .tc-sheet-viewport { height: 184px; }
  .tc-sheet-row { min-height: 59px; font-size: 10px; }
  .tc-sheet-row > * { padding: 6px 5px; }
  .tc-sheet-row code, .tc-sheet-row p { font-size: 10px; }
  .tc-sheet-row > b { height: 21px; padding-inline: 6px; font-size: 10px; }
  .tc-sheet-tabs { height: 37px; padding-inline: 9px; font-size: 10px; }
  .tc-sheet-tabs button { height: 26px; padding-inline: 10px; font-size: 10px; }
  .tc-sheet-tabs small { display: none; }
  .product-hero-demo--testcase:is(:hover, .is-scroll-animating) .tc-sheet-rows { transform: translateY(-165px); }
  .editorial-block--tc-invocation { padding: 72px 0; }
  .tc-section-intro { margin-bottom: 34px; gap: 18px; }
  .tc-section-intro > div:last-child > p { font-size: 16px; line-height: 1.75; }
  .tc-section-intro > div:last-child > p + p { font-size: 14px; }
  .tc-call-demo { border-radius: 18px; }
  .tc-call-tabs { padding: 7px 7px 0; gap: 4px; }
  .tc-call-tab { min-height: 58px; padding: 8px; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; border-radius: 11px 11px 0 0; }
  .tc-call-tab > span { min-width: 40px; height: 25px; font-size: 10px; }
  .tc-call-tab strong { font-size: 11px; white-space: normal; }
  .tc-call-tab small { display: none; }
  .tc-call-stage { padding: 7px; }
  .tc-agent-shot, .tc-cli-shot { height: 590px; border-radius: 12px; }
  .tc-agent-titlebar { height: 41px; padding-inline: 10px; font-size: 11px; }
  .tc-agent-titlebar small { display: none; }
  .tc-agent-layout { height: 549px; grid-template-columns: 45px minmax(0, 1fr); }
  .tc-agent-layout aside { padding: 12px 6px; align-items: center; }
  .tc-agent-layout aside > * { width: 31px; min-height: 34px; padding: 0; justify-content: center; overflow: hidden; }
  .tc-agent-layout aside > * > i { width: auto; font-size: 11px; }
  .tc-agent-layout aside > * > span { display: none; }
  .tc-agent-layout aside small { display: none; }
  .tc-agent-thread { padding: 13px 10px 11px; }
  .tc-agent-user { max-width: 95%; padding: 9px 10px; font-size: 11px; }
  .tc-agent-user code { font-size: 10px; }
  .tc-agent-reply { max-width: 100%; margin-top: 12px; grid-template-columns: 21px minmax(0, 1fr); gap: 7px; }
  .tc-agent-reply > span { width: 21px; height: 21px; font-size: 10px; }
  .tc-agent-reply p { font-size: 11px; }
  .tc-agent-tools { gap: 5px; }
  .tc-agent-tools li { min-height: 52px; padding: 7px; grid-template-columns: 18px minmax(0, 1fr); gap: 7px; }
  .tc-agent-tools li > i { width: 17px; height: 17px; font-size: 10px; }
  .tc-agent-tools strong { font-size: 11px; }
  .tc-agent-tools code, .tc-agent-tools em { font-size: 10px; }
  .tc-agent-tools em { display: none; }
  .tc-agent-reply .tc-agent-success { margin-top: 7px; }
  .tc-agent-composer { min-height: 53px; padding: 9px; font-size: 10px; }
  .tc-agent-composer > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tc-agent-composer b { display: none; }
  .tc-terminal-bar { height: 42px; padding-inline: 11px; font-size: 11px; }
  .tc-terminal-bar small { display: none; }
  .tc-cli-body { padding: 20px 14px; }
  .tc-cli-context { padding: 12px; }
  .tc-cli-context span, .tc-cli-context small { font-size: 10px; }
  .tc-cli-context strong { font-size: 12px; }
  .tc-cli-body > p { margin-top: 20px; font-size: 11px; line-height: 1.65; }
  .tc-cli-progress { margin-top: 18px; }
  .tc-cli-progress strong { font-size: 10px; }
  .tc-cli-body pre { margin-top: 16px; padding: 11px; font-size: 10px; }
  .tc-feature, .tc-feature--journey { padding: 72px 0; gap: 34px; }
  .tc-feature-copy > p:last-child { font-size: 16px; line-height: 1.78; }
  .tc-matrix-demo { height: 510px; padding: 12px; border-radius: 22px; }
  .tc-matrix-titlebar { height: 41px; font-size: 11px; }
  .tc-matrix-titlebar small { font-size: 10px; }
  .tc-matrix-formula { height: 37px; font-size: 10px; }
  .tc-matrix-formula code { font-size: 10px; }
  .tc-matrix-row { min-height: 52px; grid-template-columns: 76px 64px minmax(0, 1fr) 58px; font-size: 11px; }
  .tc-matrix-row > :nth-child(4), .tc-matrix-row > :nth-child(5), .tc-matrix-row > :nth-child(6) { display: none; }
  .tc-matrix-row > span { padding: 7px 5px; }
  .tc-matrix-head { min-height: 40px; font-size: 11px; }
  .tc-matrix-tabs { height: 40px; font-size: 11px; }
  .tc-matrix-tabs b { height: 26px; padding-inline: 9px; }
  .tc-matrix-tabs small { display: none; }
  .tc-journey-demo { height: 420px; padding: 17px 14px; border-radius: 22px; }
  .tc-journey-top span, .tc-journey-top > b { font-size: 10px; }
  .tc-journey-top strong { font-size: 16px; }
  .tc-route { margin-top: 15px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 155px; gap: 8px; }
  .tc-route-stage { min-height: 0; padding: 13px 12px; }
  .tc-route-brand { width: 46px; height: 46px; right: 9px; bottom: 9px; opacity: .5; }
  .tc-route-stage strong { max-width: 100%; }
  .tc-route-stage em { max-width: calc(100% - 54px); }
  .tc-route-stage small { font-size: 10px; }
  .tc-route-stage strong { margin-top: 9px; font-size: 12px; line-height: 1.35; }
  .tc-route-stage em { font-size: 10px; }
  .tc-concurrency-demo { height: 400px; padding: 12px; border-radius: 22px; }
  .tc-mode-panel { padding: 13px; }
  .tc-mode-heading strong, .tc-mode-heading small { font-size: 10px; }
  .tc-mode-grid { gap: 7px; }
  .tc-mode-card { min-height: 51px; padding-inline: 8px; grid-template-columns: auto minmax(0, 1fr); gap: 7px; font-size: 11px; }
  .tc-mode-panel > p { font-size: 10px; }
  .tc-daemon-terminal { margin-top: 14px; }
  .tc-daemon-terminal .tc-terminal-bar { height: 38px; font-size: 11px; }
  .tc-daemon-terminal > p, .tc-daemon-terminal > small { font-size: 11px; }
  .tc-daemon-terminal > p { padding: 15px 12px 8px; }
  .tc-daemon-terminal > small { padding: 0 12px 14px 34px; }
  .tc-daemon-options { display: block; }
}
