/* The Always-On Analyst section, shared by the home page and /always-on-analyst. */
/* The Always-On Analyst section. Everything is scoped to #autonomous and prefixed au- so nothing touches the rest of the page.
   The section sits on the page's own dark band (.sec.band) and reuses .head, .body, .display, .ask-who, .sec-replay and .btn. */
#autonomous { --au-hi: #eeebe4; --au-card: #26272c; --au-brass: #d6b26c; --au-blue: #8fb0ea; --au-mute: #8f8a82; }
#autonomous .au-kicker { display: inline-block; font-size: 13px; color: var(--silver); border: 1px solid rgba(220, 216, 207, 0.4); padding: 4px 10px; margin: 0 0 22px; }
#autonomous .au-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: clamp(40px, 5vw, 64px); }
#autonomous .au-illus { font-size: 12.5px; color: var(--au-mute); }
#autonomous .au-bar .sec-replay { margin-left: auto; }

/* the mind beside the chapters */
#autonomous .au-stage { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: 10px; }
#autonomous .au-core { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; margin: 0 auto; }
#autonomous .au-core canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#autonomous .au-cap { margin: 4px auto 0; max-width: 34ch; min-height: 2.7em; text-align: center; font-family: var(--display); font-weight: 600; font-variation-settings: "opsz" 11; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.3; color: var(--au-hi); transition: opacity 0.18s ease; text-wrap: balance; }
#autonomous .au-rings { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin: 10px auto 0; font-size: 12.5px; color: var(--silver-2); }
#autonomous .au-rings i { display: inline-block; width: 18px; height: 7px; border: 1.5px solid currentColor; border-radius: 50%; vertical-align: -1px; margin-right: 8px; }
#autonomous .au-gov i { color: var(--au-brass); }
#autonomous .au-guard i { color: var(--au-blue); width: 13px; }

#autonomous .au-chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: au-ch; }
#autonomous .au-chapters li { counter-increment: au-ch; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; padding: 13px 0; border-top: 1px solid rgba(220, 216, 207, 0.16); transition: opacity 0.5s ease; }
#autonomous .au-chapters li::before { content: counter(au-ch); grid-row: 1 / span 2; font-family: var(--display); font-variation-settings: "opsz" 11; font-size: 24px; line-height: 1; color: #6f6c66; transition: color 0.4s ease; }
#autonomous .au-chapters b { font-family: var(--display); font-weight: 600; font-variation-settings: "opsz" 11; font-size: 20px; line-height: 1.2; color: var(--au-hi); }
#autonomous .au-chapters p { margin: 0; font-size: 15px; color: var(--silver-2); line-height: 1.5; }
#autonomous .au-chapters .au-fix b { color: var(--au-blue); }
#autonomous .au-chapters .au-aha b { color: var(--au-brass); }
#autonomous .au-chapters li.au-todo { opacity: 0.28; }
#autonomous .au-chapters li.au-now::before { color: var(--au-hi); }

/* the briefing: three panels, built as Janaly works */
#autonomous .au-brief { margin-top: clamp(36px, 5vw, 64px); background: var(--au-card); border: 1px solid rgba(220, 216, 207, 0.32); padding: 22px 24px 20px; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9); }
#autonomous .au-brief-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; border-bottom: 1px solid rgba(220, 216, 207, 0.18); padding-bottom: 12px; }
#autonomous .au-brief-title { font-family: var(--display); font-weight: 600; font-variation-settings: "opsz" 11; font-size: 20px; color: var(--au-hi); }
#autonomous .au-brief-tag { font-size: 12.5px; color: var(--au-mute); }
#autonomous .au-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(18px, 2.4vw, 32px); margin-top: 16px; }
#autonomous .au-panel { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
#autonomous .au-panel .au-ttl { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver-2); }
#autonomous .au-panel .au-sub { margin: 2px 0 6px; font-size: 13px; color: #6f6c66; }
#autonomous .au-panel svg { display: block; width: 100%; height: auto; overflow: visible; }
#autonomous .au-panel.au-aha .au-ttl { color: var(--au-brass); }
#autonomous .au-key { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px; font-size: 12px; color: var(--silver-2); }
#autonomous .au-key i { display: inline-block; width: 16px; height: 0; border-top: 1.6px solid var(--au-hi); vertical-align: 3px; margin-right: 6px; }
#autonomous .au-key i.au-dash { border-top: 1.4px dashed var(--silver-2); }
#autonomous .au-key .au-shade { color: var(--au-brass); }
#autonomous .au-finding { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 10px 32px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(220, 216, 207, 0.12); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
#autonomous .au-finding-t { margin: 0; font-family: var(--display); font-weight: 600; font-variation-settings: "opsz" 11; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.2; color: var(--au-brass); text-wrap: balance; }
#autonomous .au-finding-b { margin: 8px 0 0; font-size: 15px; color: var(--silver-2); max-width: 62ch; }
#autonomous .au-next { margin: 0; font-size: 14.5px; }
#autonomous .au-next b { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver-2); margin-bottom: 4px; }
#autonomous .au-next span { color: var(--silver); }
#autonomous .au-brief-foot { font-size: 12.5px; color: var(--au-mute); padding-top: 14px; }
#autonomous .au-pre { opacity: 0; transform: translateY(8px); }

#autonomous .au-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); margin-top: clamp(48px, 6vw, 80px); }
#autonomous .au-point { border-top: 1px solid rgba(220, 216, 207, 0.5); padding: 18px 0 8px; }
#autonomous .au-point h3 { font-family: var(--display); font-weight: 600; font-variation-settings: "opsz" 11; font-size: 21px; margin: 0 0 8px; color: var(--au-hi); }
#autonomous .au-point p { margin: 0; color: var(--silver-2); font-size: 15.5px; }
#autonomous .au-close { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid rgba(220, 216, 207, 0.16); }
#autonomous .au-close-line { flex: 1 1 380px; margin: 0; font-family: var(--display); font-weight: 600; font-variation-settings: "opsz" 11; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; color: var(--au-hi); max-width: 26ch; text-wrap: balance; }
#autonomous .au-btn { background: var(--silver); color: var(--dark); }
#autonomous .au-btn:hover { opacity: 0.88; }
#autonomous .au-fine { flex-basis: 100%; margin: 0; font-size: 13.5px; color: var(--silver-2); }

@media (max-width: 900px) {
  #autonomous .au-stage, #autonomous .au-points, #autonomous .au-finding { grid-template-columns: minmax(0, 1fr); }
  #autonomous .au-panels { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 560px) { #autonomous .au-brief { padding: 18px 16px; } #autonomous .au-chapters b { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { #autonomous .au-cap, #autonomous .au-chapters li, #autonomous .au-panel, #autonomous .au-finding { transition: none; } }
