/* Localised, progressively enhanced examples of AI in the governance workflow. */
.ai-workflows { padding: 72px 0; background: #fbf7f1; border-bottom: 1px solid #e3d8cd; scroll-margin-top: 90px; }
.ai-workflows .section-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.ai-workflows h2 { max-width: 900px; font-size: clamp(30px,3.2vw,44px); line-height: 1.16; letter-spacing: -.025em; margin-bottom: 22px; }
.ai-workflows h2 span { color: #985918; }
.ai-workflows-intro { max-width: 830px; font-size: 18px; line-height: 1.65; color: #4b4450; }
.ai-example-note { font-size: 14px; line-height: 1.6; color: #655b6b; margin-top: 16px; }
.ai-workflow-tabs { margin-top: 30px; }
.ai-workflow-panel { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); grid-template-areas: "story example" "review example"; column-gap: 48px; align-items: start; padding: 36px; border: 1px solid #d9cdbf; border-radius: 20px; margin-top: 24px; background: #fffdfa; }
.ai-workflow-story { grid-area: story; }
.ai-workflow-review { grid-area: review; }
.ai-workflow-review p { font-size: 16px; line-height: 1.65; color: #4b4450; }
.ai-workflow-panel[hidden] { display: none; }
.ai-workflow-story > h3 { font-size: clamp(25px,2.4vw,32px); line-height: 1.2; letter-spacing: -.02em; margin: 14px 0 18px; }
.ai-workflow-story p, .ai-example-body p, .ai-source blockquote { font-size: 16px; line-height: 1.65; color: #4b4450; }
.ai-workflow-story .ai-workflow-label, .ai-example-body .ai-workflow-label { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #814911; }
.ai-human-review { border-top: 1px solid #d9cdbf; margin-top: 26px; padding-top: 24px; }
.ai-human-review h4 { font-size: 16px; color: #2a1b2e; margin-bottom: 8px; }
.ai-human-review p + h4 { margin-top: 20px; }
.ai-workflow-link { display: inline-block; margin-top: 24px; color: #633574; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.ai-workflow-example { grid-area: example; min-width: 0; background: #f2eae0; border: 1px solid #d9cdbf; border-radius: 16px; overflow: hidden; }
.ai-example-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid #d9cdbf; color: #2a1b2e; }
.ai-example-top > span:first-child { font-size: 17px; font-weight: 700; }
.ai-example-top > span:last-child { font-size: 12px; color: #655b6b; }
.ai-example-body { padding: 24px; }
.ai-example-body .ai-example-question { color: #2a1b2e; font-weight: 600; font-size: 20px; line-height: 1.4; margin: 10px 0 28px; }
.ai-example-answer { margin: 10px 0 24px; }
.ai-source { border: 1px solid #c7b6cb; border-radius: 10px; background: #fffdfa; }
.ai-source summary { padding: 16px; font-size: 15px; font-weight: 600; line-height: 1.5; color: #633574; cursor: pointer; }
.ai-source summary > span { float: right; }
.ai-source-content { border-top: 1px solid #e3d8cd; padding: 16px; }
.ai-source-content .ai-source-name { font-size: 13px; font-weight: 600; color: #655b6b; margin-bottom: 14px; }
.ai-source blockquote { border-left: 3px solid #bf884a; padding-left: 16px; margin: 0; }
.ai-example-body .ai-source-hint { font-size: 13px; line-height: 1.6; margin-top: 18px; color: #655b6b; }
.ai-workflows :focus-visible { outline: 3px solid #794695; outline-offset: 4px; }
@media (max-width: 900px) { .ai-workflow-panel { column-gap: 28px; padding: 28px; } }
@media (max-width: 760px) { .ai-workflow-panel { grid-template-columns: 1fr; grid-template-areas: "story" "example" "review"; gap: 26px; } .ai-human-review { margin-top: 0; } }
@media (max-width: 640px) {
 .ai-workflows { padding: 44px 0; scroll-margin-top: 120px; }
 .ai-workflows-intro { font-size: 17px; }
 .ai-workflow-panel { padding: 22px; gap: 26px; }
 .ai-workflow-tabs button { font-size: 14px; padding: 14px; }
 .ai-example-body { padding: 18px; }
 .ai-example-top { padding: 16px 18px; }
}
