/* The tour moves from investigation to an approved change and a verified result. */
.setup-scene .agent-card { margin-top: 0; box-shadow: none; }
.setup-sources { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0; }
.setup-source { display: flex; align-items: center; gap: 8px; border: 1px solid #dce5d5; padding: 10px 12px; border-radius: 6px; font-size: 11px; color: #6b7863; opacity: .4; transition: opacity .45s, background .45s; }
.setup-source img { object-fit: contain; }
.setup-source>.icon { width: 13px; height: 13px; opacity: 0; color: #407043; }
.setup-source.connected { opacity: 1; background: #f5f9f1; }
.setup-source.connected>.icon { opacity: 1; }
.setup-boundary { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #718366; }
.setup-boundary>.icon { width: 15px; height: 15px; }
.app-eyebrow { font-size: 9px; font-weight: 550; letter-spacing: .08em; color: #849079; margin-bottom: 8px; }
.action-scene,.verify-scene { padding: 28px 30px 22px; }
.action-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 24px; }
.action-heading h3 { font-family: var(--font); font-size: 25px; letter-spacing: -.035em; font-weight: 500; }
.action-state { font-size: 10px; padding: 7px 10px; border: 1px solid #e4d8ba; background: #faf7ed; color: #8b6b2b; border-radius: 5px; white-space: nowrap; transition: background .4s; }
.action-state[data-state="executing"],.action-state[data-state="confirmed"] { border-color: #cddfc3; background: #eef6e7; color: #4b733b; }
.action-layout { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: 28px; flex: 1; min-height: 0; }
.action-proposal { min-width: 0; }
.action-focus { font-size: 11px; line-height: 1.5; color: #728166; }
.action-amount { display: block; margin: 10px 0 12px; font-family: var(--display); font-size: 36px; font-weight: 500; letter-spacing: -.055em; color: #395b31; }
.action-context { font-size: 13px; line-height: 1.7; color: #65765a; }
.action-evidence { display: flex; flex-direction: column; gap: 10px; margin-top: 21px; }
.action-evidence>small { font-size: 8px; letter-spacing: .075em; color: #89967d; margin-bottom: 2px; }
.action-evidence>span { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #667a59; }
.action-evidence .icon { width: 13px; height: 13px; }
.action-permission { display: flex; gap: 6px; align-items: center; font-size: 9px; color: #7e8b72; margin-top: 22px; line-height: 1.5; }
.action-permission .icon { width: 13px; height: 13px; }
.action-progress { border-left: 1px solid #e3e9dc; padding-left: 26px; min-width: 0; }
.approval-request { display: grid; grid-template-columns: 29px 1fr; gap: 9px; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #e8ecdf; }
.approval-request strong { font-size: 12px; font-weight: 550; }
.approval-request small { display: block; font-size: 9px; color: #87937b; margin-top: 3px; }
.approval-request button { grid-column: 1/-1; display: flex; justify-content: center; align-items: center; gap: 10px; border: 0; border-radius: 6px; background: #365f45; color: #fff; padding: 10px 12px; font-size: 11px; margin-top: 3px; }
.approval-request button:hover { background: #274b35; }
.approval-request button>.icon { width: 14px; height: 14px; }
.approval-stamp { grid-column: 1/-1; display: flex; gap: 6px; align-items: center; justify-content: center; color: #4c733c; background: #edf5e6; padding: 10px 12px; border-radius: 6px; font-size: 11px; margin-top: 3px; }
.approval-stamp .icon { width: 14px; height: 14px; }
.execution-log { list-style: none; padding: 16px 0 0; margin: 0; }
.execution-log li { display: flex; gap: 10px; align-items: flex-start; padding: 0 0 20px; opacity: .58; transition: opacity .4s; }
.execution-log li.active,.execution-log li.done { opacity: 1; }
.step-mark { width: 21px; height: 21px; display: grid; place-items: center; border: 1px solid #cbd6c1; border-radius: 50%; flex-shrink: 0; background: #f6f9f2; }
.step-mark>.icon { width: 13px; height: 13px; opacity: 0; }
.active .step-mark { border: 2px solid #7b9b66; border-right-color: #d8e3cf; animation: task-spin 1.4s linear infinite; }
.done .step-mark { color: #416f36; background: #e7f0de; border-color: #b9cca8; }
.done .step-mark>.icon { opacity: 1; }
.execution-log strong { display: block; font-size: 12px; line-height: 1.45; font-weight: 500; color: #465e39; }
.execution-log small { display: block; font-size: 9px; line-height: 1.5; color: #89967d; margin-top: 4px; }
.erp-receipt { display: flex; align-items: center; gap: 8px; background: #edf5e6; padding: 10px 11px; border: 1px solid #cfdfc2; border-radius: 5px; animation: scene-in .5s ease both; }
.erp-receipt>.icon { width: 17px; height: 17px; color: #537a3e; }
.erp-receipt small { display: block; font-size: 7px; letter-spacing: .045em; color: #778e67; margin-bottom: 3px; }
.erp-receipt strong { font-size: 10px; font-weight: 500; color: #416534; }
.action-bottom { display: flex; gap: 6px; align-items: center; padding-top: 17px; margin-top: 10px; border-top: 1px solid #e8ecdf; color: #8a967e; font-size: 10px; }
.action-bottom>.icon { width: 13px; height: 13px; }
.verification-title { display: flex; align-items: center; gap: 13px; }
.verified-mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #3b713e; background: #e5f0dc; border: 1px solid #c2d7b1; flex-shrink: 0; }
.verification-title h3 { font-family: var(--font); font-size: 28px; font-weight: 500; letter-spacing: -.04em; }
.verified-tag { font-size: 10px; color: #4f7441; border: 1px solid #cadcbd; border-radius: 5px; padding: 5px 8px; margin-left: auto; }
.verification-copy { font-size: 13px; line-height: 1.7; color: #708061; max-width: 660px; margin-top: 18px; }
.record-comparison { display: grid; grid-template-columns: 1fr 20px 1fr; align-items: center; gap: 16px; background: #f6f9f2; border: 1px solid #dfe7d6; border-radius: 7px; padding: 16px 18px; margin-top: 22px; }
.record-comparison small { font-size: 8px; letter-spacing: .08em; color: #8f9c82; }
.record-comparison p { font-size: 12px; line-height: 1.5; color: #49633b; margin-top: 6px; }
.record-comparison>div:first-child p { color: #8c9783; }
.record-comparison>.icon { width: 16px; transform: rotate(45deg); color: #8ca679; }
.verification-checks { display: flex; flex-direction: column; gap: 12px; margin: 23px 0 18px; }
.verification-checks>span { display: flex; gap: 9px; align-items: center; font-size: 12px; color: #637b51; opacity: .3; transition: opacity .5s; }
.verification-checks>span.checked { opacity: 1; }
.verification-checks .icon { width: 15px; height: 15px; }
.verified-record { display: flex; justify-content: space-between; gap: 15px; color: #89967c; font-size: 10px; border-top: 1px solid #e5ebdd; padding-top: 12px; }
.verified-record>span:first-child { display: flex; gap: 6px; align-items: center; }
.verified-record .icon { width: 13px; height: 13px; }
.repeat-strip { display: flex; align-items: center; gap: 13px; padding: 16px; background: #f0f5e9; border: 1px solid #d6e2ca; border-radius: 8px; margin-top: auto; opacity: 0; transform: translateY(10px); transition: transform .5s,opacity .5s; }
.repeat-strip.shown { opacity: 1; transform: none; }
.repeat-icon { display: grid; place-items: center; border: 1px solid #d0debf; background: #e4edd8; border-radius: 7px; padding: 8px; color: #668650; }
.repeat-strip small { display: block; font-size: 7px; letter-spacing: .08em; color: #8c9d7a; margin-bottom: 6px; }
.repeat-strip strong { display: block; font-size: 12px; font-weight: 500; color: #4b6a3b; }
.repeat-strip div>span { display: block; font-size: 9px; color: #879879; line-height: 1.5; margin-top: 5px; }
.routine-active { display: flex; gap: 5px; align-items: center; color: #648148; font-size: 9px; margin-left: auto; white-space: nowrap; }
.routine-active .icon { width: 12px; height: 12px; }
@keyframes task-spin { to { transform: rotate(360deg); } }
/* A single, readable control example rather than a grid of feature claims. */
.controls-section { padding: 80px 0 74px; background: #fafbf8; }
.controls-section .section-heading { margin-bottom: 32px; }
.controls-intro { font-size: 15px; line-height: 1.75; color: #6a786a; }
.controls-example { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #d9e1d5; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 12px 28px -22px #3b4e2933; }
.permission-panel { padding: 25px 30px 21px; background: #f3f5ef; border-right: 1px solid #dce3d5; }
.control-panel-heading { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; padding-bottom: 23px; }
.control-panel-heading>.icon { width: 17px; height: 17px; color: #748a66; }
.control-panel-heading>small { margin-left: auto; font-size: 10px; font-weight: 400; color: #8c9883; }
.permission-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 18px 0; border-top: 1px solid #e0e6d9; }
.permission-row strong { font-size: 14px; font-weight: 500; }
.permission-row p { font-size: 11px; line-height: 1.5; margin-top: 5px; color: #7b8970; }
.permission-mode { font-size: 10px; padding: 5px 9px; border-radius: 4px; white-space: nowrap; }
.permission-mode.allowed { color: #557444; background: #e7eedf; }
.permission-mode.review { color: #91723e; background: #f4ecda; }
.permission-mode.blocked { color: #7c7e78; background: #e6e8e1; }
.permission-note { display: flex; align-items: center; gap: 7px; font-size: 10px; line-height: 1.6; color: #88967e; padding-top: 15px; border-top: 1px solid #e0e6d9; }
.permission-note>.icon { width: 13px; height: 13px; flex-shrink: 0; }
.control-action-panel { padding: 25px 30px 21px; }
.control-action-panel .control-panel-heading>small { font-size: 8px; letter-spacing: .07em; }
.control-action-top { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.control-action-top p { font-size: 12px; color: #788a6b; margin-bottom: 7px; }
.control-action-top strong { font-family: var(--display); font-size: 32px; font-weight: 500; letter-spacing: -.05em; }
.control-status { font-size: 10px; }
.control-status>span { display: none; color: #5e7c4c; background: #edf4e7; padding: 6px 8px; border-radius: 4px; white-space: nowrap; }
.control-status .status-pending { background: #f7f1e4; color: #94753d; }
[data-phase="0"] .status-pending,[data-phase="1"] .status-approved,[data-phase="2"] .status-posting,[data-phase="3"] .status-verified { display: block; }
.control-evidence { font-size: 10px; color: #8c9b7f; line-height: 1.6; margin-top: 14px; }
.control-timeline { list-style: none; margin: 21px 0 0; padding: 0; }
.control-timeline li { display: flex; align-items: flex-start; gap: 11px; padding-bottom: 20px; position: relative; }
.control-timeline li:not(:last-child):before { content: ''; position: absolute; top: 21px; left: 10px; bottom: 0; width: 1px; background: #e0e8d7; }
.control-step-mark { display: grid; place-items: center; flex-shrink: 0; width: 21px; height: 21px; border-radius: 50%; border: 1px solid #d8e1ce; background: #f8faf5; color: #578144; transition: background .4s,border-color .4s; }
.control-step-mark>.icon { width: 12px; height: 12px; opacity: 0; transition: opacity .4s; }
.control-timeline strong { display: block; font-size: 12px; font-weight: 500; color: #99a58d; transition: color .4s; }
.control-timeline small { display: block; font-size: 10px; color: #9ba88f; margin-top: 4px; }
.control-timeline time { font-size: 9px; color: #94a587; margin-left: auto; opacity: 0; padding-top: 3px; }
[data-phase="0"] .control-timeline li:nth-child(1) strong { color: #8d713d; }
[data-phase="1"] .control-timeline li:nth-child(1) .control-step-mark,[data-phase="2"] .control-timeline li:nth-child(-n+2) .control-step-mark,[data-phase="3"] .control-timeline .control-step-mark { background: #e8f2de; border-color: #bfd5ad; }
[data-phase="1"] .control-timeline li:nth-child(1) .icon,[data-phase="2"] .control-timeline li:nth-child(-n+2) .icon,[data-phase="3"] .control-timeline .icon,[data-phase="1"] .control-timeline li:nth-child(1) time,[data-phase="2"] .control-timeline li:nth-child(-n+2) time,[data-phase="3"] .control-timeline time { opacity: 1; }
[data-phase="1"] .control-timeline li:nth-child(1) strong,[data-phase="2"] .control-timeline li:nth-child(-n+2) strong,[data-phase="3"] .control-timeline strong { color: #4d6a3f; }
.control-outcome { border-top: 1px solid #e4eade; padding-top: 14px; min-height: 31px; font-size: 10px; color: #819471; }
.control-outcome>span { display: flex; align-items: center; gap: 7px; }
.control-outcome .icon { width: 13px; height: 13px; }
.control-outcome .outcome-verified,.control-outcome .outcome-processing,[data-phase="1"] .outcome-pending,[data-phase="2"] .outcome-pending,[data-phase="3"] .outcome-pending { display: none; }
[data-phase="1"] .control-outcome .outcome-processing,[data-phase="2"] .control-outcome .outcome-processing { display: flex; }
[data-phase="3"] .outcome-verified { display: flex; color: #4a733d; }
/* Answers remain in the HTML so they work without JavaScript or animation. */
.faq-section { padding: 73px 0 72px; background: #fafbf8; border-top: 1px solid #e2e7dd; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; }
.faq-heading .eyebrow { color: #809075; font-size: 10px; margin-bottom: 18px; }
.faq-heading h2 { font-size: 42px; font-weight: 450; line-height: 1.18; letter-spacing: -.055em; }
.faq-heading>a { display: inline-flex; align-items: center; gap: 13px; font-size: 12px; color: #6e8561; margin-top: 28px; }
.faq-heading>a>.icon { width: 15px; height: 15px; }
.faq-item { border-bottom: 1px solid #dfe6d8; scroll-margin-top: 40px; }
.faq-item:first-child { border-top: 1px solid #dfe6d8; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; cursor: pointer; padding: 21px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-family: var(--font); font-size: 15px; font-weight: 450; line-height: 1.5; }
.faq-plus { position: relative; display: block; width: 13px; height: 13px; flex-shrink: 0; color: #7a8e6c; }
.faq-plus:before,.faq-plus:after { content: ''; position: absolute; background: currentColor; }
.faq-plus:before { width: 13px; height: 1px; top: 6px; left: 0; }
.faq-plus:after { width: 1px; height: 13px; top: 0; left: 6px; transition: transform .2s; }
.faq-item[open] .faq-plus:after { transform: rotate(90deg); }
.faq-answer { padding: 0 35px 22px 0; }
.faq-answer p { font-size: 14px; line-height: 1.8; color: #708168; }
.contact-section { background: #edf2e7; padding: 77px 0 75px; }
.contact-description { font-size: 14px; line-height: 1.7; color: #788b6c; margin-top: 23px; }
@media(max-width:1100px) {
  .action-scene,.verify-scene { padding: 24px; }
  .action-layout { gap: 19px; }
  .action-progress { padding-left: 18px; }
  .action-heading h3 { font-size: 22px; }
  .action-context { font-size: 12px; }
  .action-evidence>span { font-size: 10px; }
  .verification-title h3 { font-size: 25px; }
  .repeat-strip { padding: 13px; }
  .repeat-strip strong { font-size: 11px; }
  .routine-active { display: none; }
  .permission-panel,.control-action-panel { padding-inline: 24px; }
  .faq-layout { gap: 45px; }
}
@media(max-width:760px) {
  .controls-example { grid-template-columns: 1fr; }
  .permission-panel { border-right: 0; border-bottom: 1px solid #dce3d5; }
  .controls-intro { font-size: 13px; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .faq-heading h2 { font-size: 35px; }
  .faq-heading h2 br { display: none; }
  .faq-heading>a { margin-top: 17px; }
}
@media(max-width:640px) {
  .setup-sources { gap: 6px; margin: 14px 0; }
  .setup-source { font-size: 9px; padding: 8px; gap: 6px; }
  .setup-source img { width: 18px; height: 16px; }
  .setup-source>.icon { width: 11px; height: 11px; }
  .setup-boundary { font-size: 9px; line-height: 1.6; align-items: flex-start; }
  .setup-scene .agent-card p { font-size: 10px; }
  .action-scene,.verify-scene { padding: 19px 15px 17px; }
  .action-heading { gap: 8px; margin-bottom: 14px; }
  .action-heading h3 { font-size: 18px; }
  .app-eyebrow { font-size: 7px; margin-bottom: 6px; }
  .action-state { font-size: 8px; padding: 6px; }
  .action-layout { display: flex; flex-direction: column; gap: 14px; }
  .action-proposal { display: grid; grid-template-columns: 1fr auto; gap: 8px 9px; }
  .action-focus { font-size: 10px; align-self: center; }
  .action-amount { font-size: 26px; margin: 0; }
  .action-context { grid-column: 1/-1; font-size: 11px; line-height: 1.55; }
  .action-evidence { grid-column: 1/-1; flex-direction: row; flex-wrap: wrap; gap: 5px 9px; margin: 0; }
  .action-evidence>small { display: none; }
  .action-evidence>span { font-size: 8px; gap: 3px; }
  .action-evidence .icon { width: 10px; height: 10px; }
  .action-permission { grid-column: 1/-1; font-size: 8px; margin: 0; }
  .action-progress { border: 0; padding: 0; }
  .approval-request { grid-template-columns: 26px 1fr auto; gap: 7px; padding: 11px 0; border-top: 1px solid #e2e8d9; }
  .approval-request>.person-avatar { width: 26px; height: 26px; font-size: 9px; }
  .approval-request strong { font-size: 10px; }
  .approval-request small { font-size: 7px; }
  .approval-request button,.approval-stamp { grid-column: auto; font-size: 9px; padding: 9px; margin: 0; }
  .approval-request button>.icon { display: none; }
  .execution-log { padding-top: 13px; }
  .execution-log li { gap: 9px; padding-bottom: 13px; }
  .execution-log strong { font-size: 11px; }
  .execution-log small { font-size: 9px; margin-top: 3px; }
  .step-mark { width: 18px; height: 18px; }
  .erp-receipt { padding: 8px 10px; }
  .erp-receipt strong { font-size: 9px; }
  .action-bottom { font-size: 8px; line-height: 1.5; padding-top: 10px; margin-top: 8px; }
  .verification-title { gap: 10px; }
  .verified-mark { width: 34px; height: 34px; }
  .verification-title h3 { font-size: 23px; }
  .verified-tag { display: none; }
  .verification-copy { font-size: 12px; margin-top: 18px; }
  .record-comparison { padding: 13px; gap: 9px; grid-template-columns: 1fr 14px 1fr; margin-top: 18px; }
  .record-comparison small { font-size: 7px; }
  .record-comparison p { font-size: 10px; line-height: 1.65; }
  .verification-checks { gap: 14px; margin: 24px 0 20px; }
  .verification-checks>span { font-size: 11px; gap: 8px; }
  .verified-record { font-size: 9px; flex-direction: column; gap: 8px; }
  .repeat-strip { padding: 13px 10px; gap: 10px; }
  .repeat-icon { padding: 6px; }
  .repeat-icon .icon { width: 18px; height: 18px; }
  .repeat-strip strong { font-size: 10px; }
  .repeat-strip div>span { font-size: 8px; }
  .controls-section { padding: 52px 0; }
  .controls-section .section-heading { margin-bottom: 24px; }
  .controls-intro { margin-top: 17px; }
  .controls-intro br { display: none; }
  .permission-panel,.control-action-panel { padding: 22px 18px; }
  .control-panel-heading { font-size: 12px; padding-bottom: 18px; }
  .control-panel-heading>small { font-size: 9px; }
  .permission-row { padding: 16px 0; gap: 10px; }
  .permission-row strong { font-size: 12px; }
  .permission-row p { font-size: 10px; }
  .permission-mode { font-size: 9px; padding: 5px 7px; }
  .permission-note { font-size: 9px; }
  .control-action-top strong { font-size: 30px; }
  .control-action-top p { font-size: 11px; }
  .control-status { font-size: 9px; }
  .control-evidence { font-size: 9px; }
  .control-timeline strong { font-size: 11px; }
  .control-timeline small { font-size: 9px; }
  .control-timeline time { font-size: 8px; }
  .control-outcome { font-size: 9px; }
  .faq-section { padding: 48px 0; }
  .faq-heading .eyebrow { font-size: 9px; margin-bottom: 13px; }
  .faq-heading h2 { font-size: 32px; }
  .faq-heading>a { font-size: 11px; }
  .faq-item summary { padding: 19px 0; gap: 16px; }
  .faq-item h3 { font-size: 13px; line-height: 1.6; }
  .faq-answer { padding-right: 19px; }
  .faq-answer p { font-size: 12px; line-height: 1.85; }
  .contact-section { padding: 57px 0 54px; }
  .contact-inner h2 { font-size: 35px; }
  .contact-description { font-size: 12px; max-width: 280px; margin: 20px auto 0; }
}
@media(max-width:370px) {
  .action-heading h3 { font-size: 16px; }
  .action-state { font-size: 7px; }
  .verification-title h3 { font-size: 21px; }
}
