/* Lightweight examples: the same navy, teal and flat surfaces as the product. */
.hero { padding-bottom: 76px; }
.process-preview { max-width: 960px; margin: 46px auto 0; text-align: left; }
.process-preview-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; color: var(--body); font-size: .875rem; }
.process-preview-head > span { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.process-preview-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.process-preview-head small, .boundary-preview-head small { color: var(--muted); font-size: .75rem; }
.process-controls { display: flex; gap: 6px; flex-shrink: 0; }
.process-controls button { padding: 8px 10px; min-height: 36px; color: var(--body); background: transparent; border-radius: 8px; font-size: .875rem; cursor: pointer; }
.process-controls button:hover { background: var(--surface-strong); color: var(--navy); }
.process-track { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); list-style: none; margin: 0; padding: 0; gap: 24px; }
.process-track li { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg); transition: background .5s ease, border-color .5s ease, box-shadow .5s ease; }
.process-track li:not(:last-child)::after { content: '→'; position: absolute; right: -19px; top: 28px; color: var(--quiet); font-size: 14px; }
.process-marker { flex: 0 0 28px; height: 28px; display: grid; place-items: center; color: var(--muted); background: var(--surface-strong); border-radius: 9px; font-size: .75rem; transition: background .5s ease, color .5s ease; }
.process-track b { display: block; margin: 3px 0 7px; font-size: .875rem; color: var(--navy); }
.process-track div > span { display: block; color: var(--body); font-size: .875rem; line-height: 1.5; min-height: 4.5em; }
.process-track li[data-state='active'] { border-color: var(--teal); background: white; box-shadow: 0 0 0 3px var(--teal-soft); }
.process-track li[data-state='done'] .process-marker { background: var(--teal-soft); color: var(--teal-dark); }
.process-track li[data-state='active'] .process-marker { background: var(--navy); color: white; }
.process-caption { margin: 16px 0 0; min-height: 3em; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.autonomy-section { padding-top: 94px; }
.autonomy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.boundary-settings { min-width: 0; margin: 0; padding: 0; border: 0; }
.boundary-settings legend { padding: 0; margin-bottom: 16px; color: var(--navy); font-size: 1rem; font-weight: 650; }
.boundary-setting { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line-strong); cursor: pointer; }
.boundary-setting b { display: block; margin-bottom: 7px; color: var(--navy); font-size: 1rem; }
.boundary-setting small { display: block; color: var(--body); font-size: .875rem; line-height: 1.6; }
.boundary-setting input { position: absolute; right: 0; width: 46px; height: 44px; opacity: 0; cursor: pointer; }
.boundary-switch { flex: 0 0 46px; height: 27px; border-radius: 20px; background: #c8d0db; box-shadow: inset 0 0 0 1px rgba(5,28,59,.06); transition: background .25s ease; pointer-events: none; }
.boundary-switch::before { content: ''; display: block; width: 21px; height: 21px; margin: 3px; border-radius: 50%; background: white; box-shadow: 0 1px 4px rgba(5,28,59,.15); transition: transform .25s cubic-bezier(.22,1,.36,1); }
.boundary-setting input:checked + .boundary-switch { background: var(--navy); }
.boundary-setting input:checked + .boundary-switch::before { transform: translateX(19px); }
.boundary-setting input:focus-visible + .boundary-switch { outline: 3px solid var(--teal-dark); outline-offset: 4px; }
.boundary-note { margin: 20px 0 0; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.boundary-preview { padding: 24px; border: 1px solid var(--line-strong); border-radius: 18px; background: white; }
.boundary-preview-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-size: .875rem; color: var(--navy); font-weight: 600; }
.boundary-route { padding: 20px 0; border-bottom: 1px solid var(--line); }
.boundary-route > b { font-size: .875rem; color: var(--body); font-weight: 500; }
.boundary-path { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0; font-size: .875rem; line-height: 1.5; }
.boundary-path > span { color: var(--body); }
.boundary-path i { font-style: normal; color: var(--quiet); }
.boundary-path strong { padding: 6px 10px; border-radius: 8px; color: var(--navy); background: var(--surface-strong); font-weight: 600; transition: background .3s ease, color .3s ease; }
.boundary-route[data-mode='auto'] strong { color: var(--teal-dark); background: var(--teal-soft); }
.boundary-route p { margin: 0; min-height: 3.1em; color: var(--muted); font-size: .875rem; line-height: 1.55; }
.boundary-summary { margin: 20px 0 0; color: var(--navy); font-size: .875rem; line-height: 1.6; }
.artifact-heading { margin: 72px 0 26px; display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; }
.artifact-heading h3 { margin: 0 0 12px; color: var(--navy); font-size: clamp(24px,3vw,32px); line-height: 1.2; letter-spacing: -.025em; }
.artifact-heading h3 span { color: var(--muted); }
.artifact-heading p { margin: 0; max-width: 650px; color: var(--body); font-size: 1rem; line-height: 1.65; }
.artifact-heading > small { color: var(--muted); font-size: .75rem; line-height: 1.6; max-width: 155px; flex-shrink: 0; }
.artifact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: start; }
.artifact-card { min-width: 0; border: 1px solid var(--line-strong); border-radius: 16px; background: white; overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.artifact-card:hover, .artifact-card[open] { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.artifact-card summary { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; cursor: pointer; list-style: none; }
.artifact-card summary::-webkit-details-marker { display: none; }
.artifact-card summary:focus-visible { outline-offset: -4px; border-radius: 16px; }
.artifact-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 22px; border-radius: 10px; background: var(--surface-strong); color: var(--navy); font-size: 20px; }
.artifact-kind { color: var(--muted); font-size: .75rem; margin-bottom: 9px; }
.artifact-card summary > b { color: var(--navy); font-size: 1.125rem; line-height: 1.4; margin-bottom: 12px; }
.artifact-status { color: var(--teal-dark); font-size: .875rem; line-height: 1.5; }
.artifact-card[data-mode='approval'] .artifact-status { color: var(--navy); }
.artifact-expand { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 8px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--body); font-size: .875rem; }
.artifact-expand i { font-size: 20px; font-style: normal; transition: transform .25s ease; }
.artifact-card[open] .artifact-expand i { transform: rotate(45deg); }
.artifact-content { padding: 0 24px 24px; color: var(--body); font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; }
.artifact-card[open] .artifact-content { animation: artifact-open .3s ease both; }
.artifact-content p:last-child { margin-bottom: 0; }
.artifact-request { padding-top: 8px; color: var(--navy); }
.artifact-document { padding: 16px; border-left: 2px solid var(--teal); border-radius: 0 10px 10px 0; background: var(--bg); margin: 18px 0; }
.artifact-document b { display: block; color: var(--navy); font-size: .875rem; margin-bottom: 8px; }
.artifact-content .artifact-source { color: var(--muted); font-size: .875rem; }
.artifact-facts { margin: 20px 0; font-size: .875rem; }
.artifact-facts > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.artifact-facts dd { margin: 0; font-weight: 650; color: var(--navy); }
@keyframes artifact-open { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .autonomy-grid { grid-template-columns: 1fr; }
  .artifact-grid { grid-template-columns: 1fr; }
  .artifact-card summary { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 8px 16px; }
  .artifact-icon { grid-row: 1 / 4; margin: 0; }
  .artifact-kind, .artifact-card summary > b { margin: 0; }
  .artifact-status, .artifact-expand { grid-column: 2; }
  .artifact-expand { margin-top: 10px; }
}
@media (max-width: 680px) {
  .process-preview { margin-top: 32px; }
  .process-preview-head { align-items: flex-start; }
  .process-preview-head > span { gap: 7px; }
  .process-preview-head small { flex-basis: 100%; padding-left: 14px; }
  .process-track { grid-template-columns: 1fr; gap: 16px; }
  .process-track li { padding: 14px; }
  .process-track div > span { min-height: 0; }
  .process-track li:not(:last-child)::after { content: '↓'; top: auto; bottom: -19px; right: auto; left: 23px; }
  .process-caption { min-height: 4.5em; }
  .artifact-heading { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 48px; }
  .artifact-heading > small { max-width: none; }
  .boundary-preview { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .process-preview *, .autonomy-section *, .autonomy-section *::before { animation: none !important; transition: none !important; }
}
