.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; }
}

.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; }

.editorial-block--tc-generation, .editorial-block--tc-execution { padding: 120px 0; display: block; }
.tc-generation-intro { margin-bottom: 44px; }
.tc-generation-intro > p { margin: 12px 0; max-width: 920px; }
.tc-generation-intro > p:last-child { color: #777f86; font-size: 16px; }
.tc-generation-materials { max-width: 920px; margin: 24px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; }
.tc-generation-materials li { min-height: 62px; padding: 13px 17px; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 13px; color: #454e57; background: rgba(255,255,255,.7); border: 1px solid #e1e7e9; border-radius: 12px; font-size: 16px; }
.tc-generation-materials li::before { content: none; }
.tc-material-number { color: #0b91a9; font: 700 13px/1 ui-monospace, monospace; }
.tc-generation-materials b { padding: 4px 9px; color: #087e94; background: #e8f6f8; border-radius: 6px; font-size: 12px; }
.tc-generation-materials b.is-recommended { color: #6d7481; background: #f0f2f5; }
.tc-generation-example { margin: 0; }
.tc-generation-agent, .tc-generation-terminal { height: 760px; }
.tc-generation-agent .tc-agent-layout { height: calc(100% - 48px); }
.tc-generation-agent .tc-agent-thread { min-height: 0; padding: 22px 26px 18px; }
.tc-generation-conversation { min-height: 0; padding-right: 10px; display: flex; flex: 1; flex-direction: column; gap: 18px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c7d4d8 transparent; }
.tc-generation-conversation > * { flex-shrink: 0; }
.tc-generation-conversation .tc-agent-user { max-width: 94%; overflow-wrap: anywhere; }
.tc-generation-conversation .tc-agent-user pre { margin: 0; white-space: pre-wrap; font: inherit; }
.tc-generation-conversation .tc-agent-reply { max-width: 100%; margin-top: 0; }
.tc-generation-conversation .tc-agent-reply p { font-size: 13px; line-height: 1.7; }
.tc-generation-conversation .tc-agent-tools + p { margin-top: 12px; }
.tc-generation-question { padding: 15px 17px; background: #f7fafb; border: 1px solid #dfe9ec; border-radius: 12px; }
.tc-generation-question p > strong { color: #087f96; }
.tc-generation-question ol { margin: 10px 0 0; padding-left: 20px; }
.tc-generation-question li { min-height: 0; margin-top: 8px; padding: 0 0 0 3px; color: #657078; background: transparent; border: 0; border-radius: 0; font-size: 12px; }
.tc-generation-question li::before { content: none; }
.tc-generation-question li:first-child { color: #087f96; }
.tc-generation-outline, .tc-generation-conversation .tc-agent-success { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 500 13px/1.8 ui-monospace, monospace; }
.tc-generation-agent .tc-agent-composer { margin-top: 16px; flex-shrink: 0; }
.tc-generation-conversation:focus-visible, .tc-generation-output:focus-visible { outline: 2px solid #41a9bf; outline-offset: -2px; }
.tc-generation-terminal { color: #d5d5d5; background: #1e1e1e; border-color: #454545; color-scheme: dark; }
.tc-generation-terminal .tc-terminal-bar { color: #d5d5d5; background: linear-gradient(#3b3b3b, #323232); border-bottom-color: #141414; }
.tc-generation-terminal .tc-terminal-bar strong { font-weight: 500; }
.tc-generation-terminal .tc-terminal-bar small { color: #a6a6a6; }
.tc-generation-output { height: calc(100% - 50px); padding: 24px 28px; overflow: auto; scrollbar-color: #646464 transparent; font: 13px/1.8 "SFMono-Regular", Menlo, Monaco, Consolas, monospace; }
.tc-generation-output pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.tc-generation-output code { font: inherit; }
.tc-generation-command { color: #f1f1f1; }
.tc-generation-status { color: #929a9e; }
span.tc-generation-question, span.tc-generation-outline { display: inline; padding: 0; color: #f2d28b; background: transparent; border: 0; border-radius: 0; font: inherit; }
.tc-generation-answer { color: #8bd4e4; }
.tc-generation-success { color: #9cdbb1; }
.tc-generation-cursor { display: inline-block; width: .62em; height: 1.2em; background: #c8c8c8; vertical-align: -.22em; }

.tc-execution-intro { margin-bottom: 44px; }
.tc-execution-intro > p { max-width: 920px; margin: 12px 0; }
.tc-execution-intro > p:last-child { color: #777f86; font-size: 16px; }
.tc-execution-platforms { margin: 28px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tc-execution-platforms > div { padding: 23px 24px; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 12px; background: rgba(255,255,255,.76); border: 1px solid #dce7eb; border-radius: 15px; }
.tc-execution-platforms svg { width: 32px; height: 32px; color: #0a97ad; }
.tc-execution-platforms strong { color: #263b44; font-size: 21px; }
.tc-execution-platforms p { grid-column: 1 / -1; margin: 0; color: #64717a; font-size: 14px; line-height: 1.65; }
.tc-execution-tools code { white-space: pre-wrap; }
.tc-execution-markdown { margin: 13px 0; }
.tc-execution-markdown table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #4d585e; font-size: 12px; line-height: 1.6; text-align: left; }
.tc-execution-markdown th, .tc-execution-markdown td { padding: 9px 12px; border: 1px solid #dde2e5; overflow-wrap: anywhere; }
.tc-execution-markdown th { font-weight: 650; }
.tc-execution-markdown th:first-child { width: 70px; }
.tc-execution-markdown th:last-child { width: 58px; }
.tc-execution-markdown td code { font: 11px/1.6 ui-monospace, monospace; }
.tc-execution-failed { color: #f2979d; }

.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-journey-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-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); } }

.editorial-block--tc-advantages { padding: 120px 0; display: block; }
.tc-advantages-heading { margin-bottom: 48px; }
.tc-advantages-heading h2 { max-width: 1000px; margin-bottom: 0; text-wrap: balance; }
.tc-advantages-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.tc-advantages-list { margin: 0; padding: 0; display: grid; gap: 25px; list-style: none; }
.tc-advantages-list li { min-height: 0; padding: 0; display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 15px; background: transparent; border: 0; border-radius: 0; }
.tc-advantages-list li::before { content: none; }
.tc-advantage-number { width: 31px; height: 31px; display: grid; place-items: center; color: #087f96; background: #e6f4f7; border: 1px solid #d4e9ed; border-radius: 9px; font: 750 12px/1 ui-monospace, monospace; }
.tc-advantages-list h3 { margin: 2px 0 9px; color: #273840; font-size: 20px; line-height: 1.4; }
.tc-advantages-list p { max-width: none; margin: 0; color: #606b75; font-size: 15px; line-height: 1.9; }
.tc-advantages-illustration { min-width: 0; margin: 0; }
.tc-advantages-illustration img { width: 100%; height: auto; }

.editorial-sections > .editorial-block--tc-advantages: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-generation, .editorial-block--tc-execution { padding: 92px 0; }
  .tc-generation-materials { grid-template-columns: 1fr; }
  .tc-execution-platforms > div { padding: 18px; }
  .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-journey-demo { width: min(100%, 720px); justify-self: center; }
  .editorial-block--tc-advantages { padding: 92px 0; }
  .tc-advantages-layout { grid-template-columns: 1fr; gap: 40px; }
  .tc-advantages-illustration { width: min(100%, 560px); justify-self: center; order: -1; }
}

@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-generation, .editorial-block--tc-execution { padding: 72px 0; }
  .tc-execution-intro { margin-bottom: 30px; }
  .tc-execution-intro > p:last-child { font-size: 14px; }
  .tc-execution-platforms { margin-block: 22px; grid-template-columns: 1fr; gap: 10px; }
  .tc-execution-platforms > div { padding: 16px; grid-template-columns: 32px minmax(0, 1fr); gap: 9px 12px; }
  .tc-execution-platforms svg { width: 27px; height: 27px; }
  .tc-execution-platforms strong { font-size: 18px; }
  .tc-execution-platforms p { grid-column: 2; font-size: 12px; }
  .tc-execution-markdown table { font-size: 10px; }
  .tc-execution-markdown th, .tc-execution-markdown td { padding: 8px 6px; }
  .tc-execution-markdown th:first-child { width: 47px; }
  .tc-execution-markdown th:last-child { width: 39px; }
  .tc-execution-markdown td code { font-size: 10px; }
  .tc-generation-intro { margin-bottom: 30px; }
  .tc-generation-materials { margin-block: 20px; }
  .tc-generation-materials li { padding: 12px; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; font-size: 13px; }
  .tc-generation-materials b { padding: 3px 6px; font-size: 10px; }
  .tc-generation-intro > p:last-child { font-size: 14px; }
  .tc-generation-example .tc-generation-agent, .tc-generation-example .tc-generation-terminal { height: 680px; }
  .tc-generation-agent .tc-agent-layout { height: calc(100% - 41px); }
  .tc-generation-agent .tc-agent-thread { padding: 13px 10px 11px; }
  .tc-generation-conversation { padding-right: 5px; gap: 14px; }
  .tc-generation-conversation .tc-agent-reply p { font-size: 11px; }
  .tc-generation-question { padding: 10px; }
  .tc-generation-question li { font-size: 11px; }
  .tc-generation-outline, .tc-generation-conversation .tc-agent-success { font-size: 11px; }
  .tc-generation-output { height: calc(100% - 42px); padding: 18px 14px; font-size: 11px; }
  .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-feature, .tc-feature--journey { padding: 72px 0; gap: 34px; }
  .tc-feature-copy > p:last-child { font-size: 16px; line-height: 1.78; }
  .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; }
  .editorial-block--tc-advantages { padding: 72px 0; }
  .tc-advantages-heading { margin-bottom: 30px; }
  .tc-advantages-heading h2 { font-size: 32px; line-height: 1.2; }
  .tc-advantages-layout { gap: 30px; }
  .tc-advantages-list { gap: 23px; }
  .tc-advantages-list li { grid-template-columns: 28px minmax(0, 1fr); gap: 11px; }
  .tc-advantage-number { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
  .tc-advantages-list h3 { margin-top: 1px; font-size: 18px; }
  .tc-advantages-list p { font-size: 14px; line-height: 1.85; }
}

.editorial-block--comparison { padding: 120px 0; display: block; }
.product-comparison-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 64px; margin-bottom: 64px; }
.product-comparison-copy h2 { text-wrap: balance; }
.product-comparison-copy > p { max-width: 550px; margin-bottom: 0; color: #606b75; font-size: 19px; line-height: 1.85; }
.product-comparison-illustration { margin: 0; min-width: 0; padding: 32px; text-align: center; background: radial-gradient(ellipse at 10% 100%, #cceef0 0, transparent 65%), radial-gradient(ellipse at 100% 0, #e0e5fc 0, transparent 60%), #f0f5f7; border: 1px solid #dce7ed; border-radius: 26px; }
.product-comparison-illustration figcaption { color: #20343e; font-size: 30px; font-weight: 750; letter-spacing: -.03em; }
.product-comparison-illustration figcaption span { margin-inline: 12px; color: #80929d; font: 600 16px/1 ui-monospace, monospace; letter-spacing: .04em; }
.product-comparison-brands { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); align-items: center; gap: 24px; margin-top: 28px; }
.product-comparison-brand { display: grid; justify-items: center; gap: 17px; min-width: 0; }
.product-comparison-logo { width: 116px; height: 116px; object-fit: contain; }
.product-comparison-brand--figma .product-comparison-logo { padding: 6px 9px 12px; }
.product-comparison-brand--fushou .product-comparison-logo { padding: 12px; }
.product-comparison-brand--fushou .product-comparison-logo img { width: 100%; height: 100%; border-radius: 21px; }
.product-comparison-brand strong { color: #4e626e; font-size: 14px; font-weight: 600; white-space: nowrap; }
.product-comparison-brand--fushou strong { color: #087f96; }
.product-comparison-divider { width: 1px; height: 90px; background: linear-gradient(transparent, #c3d2dc, transparent); }
.product-comparison-illustration > p { margin: 24px 0 0; color: #728391; font-size: 12px; letter-spacing: .08em; }
.product-comparison-tables { display: grid; gap: 48px; }
.product-comparison-group { min-width: 0; }
.product-comparison-group-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.product-comparison-group-heading > span { color: #078fa6; font: 650 13px/1 ui-monospace, monospace; }
.product-comparison-group-heading h3 { margin: 0; color: #273840; font-size: 26px; }
.product-comparison-scroll { overflow-x: auto; border: 1px solid #dbe5e9; border-radius: 18px; background: #fff; }
.product-comparison-scroll:focus-visible { outline: 2px solid #078fa6; outline-offset: 4px; }
.product-comparison-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; table-layout: fixed; text-align: left; font-size: 15px; line-height: 1.85; }
.product-comparison-table th, .product-comparison-table td { padding: 23px 26px; vertical-align: top; overflow-wrap: anywhere; }
.product-comparison-table thead th { background: #f2f5f7; color: #354653; font-size: 14px; font-weight: 650; }
.product-comparison-table thead th:first-child { width: 16%; }
.product-comparison-table thead th:nth-child(2) { width: 42%; }
.product-comparison-table thead th:last-child { width: 42%; color: #08758b; background: #e3f2f5; }
.product-comparison-table tbody th { color: #354653; font-weight: 650; }
.product-comparison-table tbody td { color: #64717b; }
.product-comparison-table tbody td:last-child { color: #284f59; background: #f0f9fa; }
.product-comparison-table tbody th, .product-comparison-table tbody td { border-top: 1px solid #e4ecef; }
.product-comparison-table tr > :nth-child(2) { border-inline: 1px solid #e4ecef; }
.product-comparison-scroll-hint { display: none; }
.editorial-sections > .editorial-block--comparison:last-child { border-bottom: 0; }

@media (max-width: 820px) {
  .editorial-block--comparison { padding: 92px 0; }
  .product-comparison-intro { grid-template-columns: 1fr; gap: 36px; margin-bottom: 48px; }
  .product-comparison-illustration { width: min(100%, 520px); justify-self: center; }
  .product-comparison-table th, .product-comparison-table td { padding: 20px; }
  .product-comparison-scroll-hint { display: block; margin: 12px 0 0; color: #728391; font-size: 12px; text-align: right; }
}

@media (max-width: 560px) {
  .editorial-block--comparison { padding: 72px 0; }
  .product-comparison-copy h2 { font-size: 32px; line-height: 1.2; }
  .product-comparison-copy > p { font-size: 16px; line-height: 1.78; }
  .product-comparison-illustration { padding: 26px 18px; border-radius: 20px; }
  .product-comparison-illustration figcaption { font-size: 27px; }
  .product-comparison-illustration figcaption span { margin-inline: 9px; font-size: 14px; }
  .product-comparison-brands { gap: 16px; }
  .product-comparison-logo { width: 98px; height: 98px; }
  .product-comparison-brand--figma .product-comparison-logo { padding: 5px 7.5px 10px; }
  .product-comparison-brand--fushou .product-comparison-logo { padding: 10px; }
  .product-comparison-brand--fushou .product-comparison-logo img { border-radius: 18px; }
  .product-comparison-brand strong { font-size: 12px; }
  .product-comparison-tables { gap: 36px; }
  .product-comparison-group-heading h3 { font-size: 23px; }
  .product-comparison-scroll { border-radius: 13px; }
  .product-comparison-table { font-size: 14px; }
}
