/* Styles for /ai-agents and /product-listings only (task 3.6: new styles only for the new pictures and blocks).
   Base styles: tc-site-v2.css. Cached for 1 year: on change, copy to tc-pages-v2.css and update the <link>. */
.tc-intro { max-width: 680px; margin: -8px auto 36px; }
.tc-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tc-split--wide { grid-template-columns: 1.15fr .85fr; }
.tc-list--lg li { font-size: 19px; margin-top: 16px; padding-left: 30px; }
.tc-list--lg li::before { top: 8px; }

/* 1. Agent icons */
.tc-agent .tc-icon { width: 44px; height: 44px; margin-bottom: 14px; display: block; }
.tc-agent .tc-h3 { font-size: 20px; }
.tc-agent .tc-text { font-size: 16px; }

/* 2. Task flow with a highlighted step */
.tc-flow--4 { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; }
.tc-flow--5 { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; }
.tc-flowstep { padding: 24px 20px; }
.tc-flowstep .tc-h3 { font-size: 20px; }
.tc-flowstep .tc-text { font-size: 15px; }
.tc-flowstep__n { font-size: 34px; font-weight: 700; line-height: 1; margin-bottom: 10px; }
.tc-flowstep--hl { background: #3a3550; border: 2px solid var(--tc-yellow); box-shadow: 0 0 0 6px rgba(255, 247, 5, .08); transform: translateY(-6px); }
.tc-flowstep--hl .tc-h3::after { content: 'You decide'; display: inline-block; margin-left: 8px; vertical-align: middle; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #222130; background: var(--tc-yellow); border-radius: 999px; padding: 3px 8px; }

/* Drawn mock-ups (pictures 3, 4, 6, 7, 8, 9): neutral UI, demo data, no real brands */
.tc-mock { background: #f4f4f8; color: #1d1c29; border-radius: 14px; padding: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); font-family: 'TildaSans', Arial, sans-serif; position: relative; }
.tc-mock__bar { display: flex; align-items: center; gap: 6px; margin: -4px 0 14px; font-size: 13px; color: #55536a; }
.tc-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #d0cfdb; }
.tc-mock__bar b { margin-left: 8px; font-weight: 600; }
.tc-mock__note { margin: 12px 0 0; font-size: 12px; color: #6b6980; text-align: right; }
.tc-mock .tc-badge--ok { background: #d7f8e3; color: #0a7a37; }
.tc-mock .tc-badge--warn { background: #ffe9cc; color: #a35a00; }
.tc-badge--run { background: #e3e0ff; color: #4a2f9a; }

/* 9a. Hero picture /ai-agents: agent board */
.tc-board__row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 14px 16px; margin-top: 8px; font-size: 16px; font-weight: 600; }
.tc-board__row .tc-badge { margin-left: auto; }
.tc-board__row--hl { outline: 2px solid #5a2f88; }
.tc-board__ic { font-size: 14px; }
.tc-board .tc-c-c { color: #0aa9b4; } .tc-board .tc-c-m { color: #c42ebd; } .tc-board .tc-c-g { color: #0a9a45; } .tc-board .tc-c-y { color: #b9a800; }

/* 3. Approval in a messenger (neutral chat) */
.tc-chat { max-width: 420px; margin: 0 auto; background: #ecebf3; }
.tc-chat__head { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #d6d4e2; margin-bottom: 14px; }
.tc-chat__head b { display: block; font-size: 16px; }
.tc-chat__head small { color: #6b6980; font-size: 13px; }
.tc-chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: #5a2f88; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.tc-chat__msg { border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; font-size: 16px; line-height: 1.45; max-width: 88%; }
.tc-chat__msg small { display: block; font-size: 12px; color: #6b6980; margin-bottom: 4px; }
.tc-chat__msg--in { background: #fff; }
.tc-chat__msg--out { background: #e3e0ff; margin-left: auto; }
.tc-chat__actions, .tc-app__foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.tc-chat__btn { display: inline-block; border-radius: 10px; padding: 10px 18px; font-size: 15px; font-weight: 600; background: #fff; color: #1d1c29; border: 1px solid #d0cfdb; }
.tc-chat__btn--ok { background: #5a2f88; color: #fff; border-color: #5a2f88; }

/* 4. Approval in the web app */
.tc-app__row { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 10px; padding: 12px 14px; margin-top: 8px; font-size: 15px; }
.tc-app__row span:first-child { font-weight: 600; }
.tc-app__row em { font-style: normal; color: #55536a; }
.tc-app__foot { margin-top: 14px; }

/* 5. Customer-question steps */
.tc-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.tc-steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; font-size: 18px; line-height: 1.5; color: var(--tc-muted); font-weight: 300; }
.tc-steps li b { color: #fff; font-weight: 600; }
.tc-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--tc-cyan); color: var(--tc-cyan); font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* 9b. Hero picture /product-listings: spreadsheet -> listing */
.tc-xform { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.tc-xform__arrow { font-size: 34px; color: var(--tc-yellow); }
.tc-sheet__row { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 6px; font-size: 13px; padding: 8px; background: #fff; border-radius: 6px; margin-top: 4px; }
.tc-sheet__row--h { background: transparent; font-weight: 700; color: #55536a; }
.tc-sheet .tc-c-m { color: #c42ebd; font-weight: 600; }

/* Drawn demo TV */
.tc-tv { margin: 0 auto 12px; width: 78%; }
.tc-tv__screen { aspect-ratio: 16 / 9; border-radius: 6px; border: 5px solid #1d1c29; background: linear-gradient(135deg, #5a2f88 0%, #30f1fd 55%, #fff705 100%); }
.tc-tv__stand { width: 34%; height: 8px; margin: 0 auto; background: #1d1c29; border-radius: 0 0 6px 6px; }
.tc-tv--plain .tc-tv__screen { background: #2c2b38; }

/* 6. Listing with five callouts */
.tc-listing__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.tc-listing__media { position: relative; background: #fff; border-radius: 10px; padding: 34px 12px 12px; }
.tc-listing__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tc-listing__thumbs i { aspect-ratio: 1 / 1; border-radius: 6px; background: linear-gradient(135deg, #dcd9ea, #b9b5d3); }
.tc-listing__title { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 12px; }
.tc-listing__specs { background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; position: relative; }
.tc-listing__specs dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 6px 0 0; font-size: 14px; }
.tc-listing__specs dt { color: #6b6980; }
.tc-listing__specs dd { margin: 0; font-weight: 600; }
.tc-listing__desc { font-size: 15px; line-height: 1.5; margin: 0 0 12px; color: #3a3850; }
.tc-listing__code { font-family: Menlo, Consolas, monospace; font-size: 12px; color: #4a2f9a; background: #e3e0ff; border-radius: 6px; padding: 8px; margin: 0; }
.tc-callout { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #5a2f88; color: #fff; font-size: 13px; font-weight: 700; vertical-align: middle; margin-right: 4px; flex: 0 0 24px; }
.tc-listing__media .tc-callout { position: absolute; }
.tc-labels { list-style: none; padding: 0; margin: 0; }
.tc-labels li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; font-size: 18px; line-height: 1.45; color: var(--tc-muted); font-weight: 300; }
.tc-labels b { color: #fff; font-weight: 600; }
.tc-labels .tc-callout { width: 32px; height: 32px; flex-basis: 32px; font-size: 15px; background: var(--tc-yellow); color: #222130; }
.tc-listing--mini { padding: 16px; }
.tc-listing--mini .tc-listing__title { font-size: 15px; }
.tc-listing--mini .tc-tv { width: 90%; }

/* 7. Before / after listing (inside the existing .tc-ba block) */
.tc-listing--ba { padding: 24px; }
.tc-listing--ba .tc-tv { width: 60%; }
.tc-listing--ba .tc-listing__title { color: #fff; text-align: center; min-height: 48px; }
.tc-ba__facts { list-style: none; margin: 0; padding: 0; }
.tc-ba__facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--tc-line); font-size: 16px; color: var(--tc-muted); }
.tc-ba__facts b { font-weight: 600; text-align: right; }

/* 8. One product, three channels */
.tc-channel__title { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.35; min-height: 50px; margin: 0 0 14px; }
.tc-channel__rule { font-size: 15px; color: var(--tc-muted); margin: 6px 0 0; line-height: 1.45; }
.tc-channel__rule span { font-weight: 600; }

/* Questions and answers */
.tc-faq { margin-top: 30px; }
.tc-faq__item { border-top: 1px solid var(--tc-line); padding: 18px 0; }
.tc-faq__item:last-child { border-bottom: 1px solid var(--tc-line); }
.tc-faq__item summary { cursor: pointer; font-size: 20px; font-weight: 600; color: #fff; list-style: none; position: relative; padding-right: 30px; }
.tc-faq__item summary::-webkit-details-marker { display: none; }
.tc-faq__item summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 26px; color: var(--tc-yellow); }
.tc-faq__item[open] summary::after { content: '−'; }
.tc-faq__item .tc-text { margin-top: 12px; }

@media screen and (max-width: 1100px) {
  .tc-flow--5 { grid-template-columns: 1fr; }
  .tc-flow--5 .tc-flow__arrow { transform: rotate(90deg); justify-self: center; }
  .tc-flowstep--hl { transform: none; }
}
@media screen and (max-width: 960px) {
  .tc-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .tc-split, .tc-split--wide { grid-template-columns: 1fr; gap: 32px; }
  .tc-flow--4 { grid-template-columns: 1fr; }
  .tc-flow--4 .tc-flow__arrow { transform: rotate(90deg); justify-self: center; }
}
@media screen and (max-width: 480px) {
  .tc-grid--4 { grid-template-columns: 1fr; }
  .tc-listing__grid { grid-template-columns: 1fr; }
  .tc-xform { grid-template-columns: 1fr; }
  .tc-xform__arrow { transform: rotate(90deg); justify-self: center; }
  .tc-app__row { grid-template-columns: 1fr auto; }
  .tc-app__row em { grid-column: 1 / -1; grid-row: 2; }
  .tc-faq__item summary { font-size: 18px; }
}
