/* agentc.croutons.ai — an app-window replica of Agent C as the story stage. */
.top .logo svg { width: 30px; height: 30px; border-radius: 8px; }
.hero .btn[aria-disabled] { opacity: .85; cursor: default; }

.ac-stage { display: flex; align-items: center; justify-content: center; background: linear-gradient(var(--paper) 88%, transparent); padding: 8px 0; }
@media (min-width: 900px) { .ac-stage { background: none; } }

.appwin { width: 100%; max-width: 560px; height: 100%; max-height: 420px; display: flex; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; font-size: 13px; }
.app-side { display: none; width: 34%; border-right: 1px solid var(--line); padding: 12px 10px; flex-direction: column; }
@media (min-width: 560px) { .app-side { display: flex; } }
.seg { display: flex; background: var(--surface-2); border-radius: 8px; padding: 2px; margin-bottom: 10px; }
.seg span { flex: 1; text-align: center; padding: 4px 0; border-radius: 6px; color: var(--ink-3); font-weight: 500; }
.seg .on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.nav-i { margin: 0; padding: 6px 8px; border-radius: 7px; color: var(--ink); transition: background .3s; }
.nav-i.gap { margin-top: 8px; }
.nav-i.site { margin-top: auto; color: var(--ink-2); }
.nav-i.on { background: var(--surface-2); }
.app-main { flex: 1; position: relative; padding: 16px; min-width: 0; }
.scr { position: absolute; inset: 16px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; display: flex; flex-direction: column; justify-content: center; }
.scr.on { opacity: 1; transform: none; }
.scr p { margin: 0 0 6px; }
.scr .t { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.scr .big { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 0; }
.scr .big2 { font-size: 19px; font-weight: 650; line-height: 1.25; letter-spacing: -.01em; max-width: 22ch; margin: 0 auto 8px; }
.scr .sub { color: var(--ink-2); }
.scr .meta { font-size: 12px; }
.scr .center, .scr.center { text-align: center; }
.engines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0; }
.engines div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.engines small { display: block; color: var(--ink-2); font-size: 11px; }
.engines b { font-size: 16px; }
.cites { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-top: 8px; }
.cite-row { margin: 6px 0 10px; }
.cite-row div { display: flex; justify-content: space-between; }
.cite-row i { display: block; height: 5px; border-radius: 3px; background: var(--surface-2); margin-top: 4px; position: relative; overflow: hidden; }
.cite-row i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ink-3); border-radius: 3px; }
.cite-row.you b { color: var(--action); }
.cite-row.you i::after { background: var(--action); }
.topics { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; margin-top: 8px; }
.topics div { border-left: 3px solid var(--line-strong); padding: 6px 0 8px 10px; margin: 8px 0; }
.topics div:first-child { border-color: var(--action); }
.topics b { font-weight: 600; }
.topics em { font-style: normal; font-size: 11px; background: var(--surface-2); border-radius: 6px; padding: 1px 6px; margin-left: 6px; color: var(--ink-2); }
.topics .chip { display: table; margin-top: 6px; font-size: 11px; }
.scr .steps { margin: 14px 0 0; }
.scr .steps li { font-size: 11px; }
.scr .btns { display: flex; justify-content: center; gap: 6px; margin: 8px 0; }

/* Platform availability */
.platforms { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--ink-3); font-size: .85rem; }
.platforms span:last-child { margin-left: 4px; }
.apps { margin-top: 24px; }
.app-card { display: flex; flex-direction: column; }
.app-card .chip { align-self: flex-start; margin-bottom: 14px; }
.app-card h3 { margin: 0 0 6px; }
.app-card p { color: var(--ink-2); margin: 0; }
.app-card .meta { margin-top: auto; padding-top: 16px; color: var(--ink-3); }
