/* unit.design specific styles */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.invert { filter: invert(1); }

.prompt { margin: 44px auto 0; max-width: 680px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.9); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 8px 8px 24px; box-shadow: 0 24px 60px -30px rgba(0,0,0,.35); backdrop-filter: blur(8px); }
.prompt:focus-within { border-color: #000; }
.prompt input { flex: 1; border: 0; background: transparent; font: 17px var(--font); outline: none; min-width: 0; color: #000; }
.prompt .mic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; color: #000; flex: none; }
.prompt .mic svg { width: 20px; height: 20px; }
.prompt .mic.listening { background: #000; color: #fff; border-color: #000; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(0,0,0,.08); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 20px auto 0; max-width: 760px; }
.chips a { font-size: 14px; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line); color: var(--ink-2); transition: border-color .2s; }
.chips a:hover { border-color: #000; }

.mock { padding: 28px; display: grid; gap: 14px; background: linear-gradient(180deg, #fff, #fafaf8); }
.mock-msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.45; }
.mock-msg.me { justify-self: end; background: #000; color: #fff; border-bottom-right-radius: 6px; }
.mock-msg.ai { background: var(--paper-3); border-bottom-left-radius: 6px; }
.mock-card { display: flex; gap: 14px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; }
.mock-card strong { display: block; font-size: 15px; }
.mock-card span { font-size: 13px; color: var(--muted); }
.mock-thumb { width: 56px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, #d9d9d6, #f2f2ef); position: relative; }
.mock-thumb::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -4px; height: 4px; border-radius: 0 0 6px 6px; background: #c9c9c6; }
.mock-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.mock-actions .btn { height: 36px; font-size: 14px; pointer-events: none; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.timeline li { position: relative; padding: 14px 16px 14px 44px; border: 1px solid var(--night-line); border-radius: 14px; background: var(--night-2); font-size: 15px; color: #e5e5e5; }
.timeline li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 12px; height: 12px; border-radius: 50%; }
.timeline .who { display: block; font-size: 12px; color: #8a8a8a; margin-bottom: 2px; letter-spacing: .02em; }
.t-human::before { background: #fff; }
.t-agent::before { background: var(--orb-a); }
.t-system::before { background: transparent; border: 2px solid #8a8a8a; }
.t-approve { border-color: #fff !important; }
.t-approve::before { background: var(--orb-b); }

.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 10px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(-45deg) scale(.8); }
.modules .card p { margin-top: 14px; }
