/* Bootstrap page: the plugin for projects where many agents work at once. Builds on style.css and home.css. */

.bs main.site { max-width: 1100px; }

/* Hero: the words on the left, thirty agent blocks on the right that settle from scatter into a grid. */
.bs-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(96px, 14vh, 140px); }
.bs-hero-text { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 5vw, 56px); }
.bs-kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.bs-kicker .live + .live { margin-left: -2px; }
.bs-kicker .live { padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.12em; background: var(--paper); color: var(--night); }
.bs-title { margin: 0; font-family: 'Protest Guerrilla', Figtree, sans-serif; font-weight: 400; font-size: clamp(3rem, 7.5vw, 6rem); line-height: 0.92; letter-spacing: 0.01em; }
.bs-title .agents { color: transparent; -webkit-background-clip: text; background-clip: text; background-image: var(--sunset); padding-right: 0.06em; }
.bs-subtitle { margin: -6px 0 0; font-size: clamp(1.375rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.bs-lede { margin: 0; max-width: 52ch; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); }


/* Merge queue simulation */
.qsim { margin: 0; width: 100%; max-width: 480px; justify-self: center; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; font-size: 0.8125rem; }
.qsim-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.qsim-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #50E1AE; display: inline-block; margin-right: 8px; box-shadow: 0 0 10px #50E1AE; }
.qsim-status { flex: 1; text-align: right; text-transform: none; letter-spacing: 0; color: var(--paper); font-size: 0.8125rem; line-height: 1.35; height: calc(3 * 1.35em); overflow: hidden; }
.qsim-head { align-items: flex-start; }
.qsim-body { position: relative; aspect-ratio: 1 / 0.95; }
.qsim-col { position: absolute; top: 0; bottom: 0; width: 26%; }
.qsim-open { left: 4%; } .qsim-batch { left: 37%; } .qsim-main { left: 72%; }
.qsim-lab { position: absolute; top: 0; left: 0; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.qsim-box { position: absolute; left: -6%; right: -6%; top: 14%; bottom: 4%; border: 1.5px dashed var(--line-strong); border-radius: 14px; transition: border-color 400ms ease, box-shadow 400ms ease; }
.qsim-box.on { border-style: solid; border-color: #3FD6FF; box-shadow: 0 0 0 1px rgba(63, 214, 255, 0.25), 0 0 28px rgba(63, 214, 255, 0.18); }
.qsim-bar { position: absolute; left: 10%; right: 10%; bottom: 10%; height: 5px; border-radius: 3px; background: rgba(244, 238, 228, 0.12); overflow: hidden; }
.qsim-bar span { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--h-sky); }
.qsim-line { position: absolute; left: 8px; top: 16%; bottom: 4%; width: 2px; background: rgba(244, 238, 228, 0.14); }
.qsim-line::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--n, 0) * 15% + 4%); background: var(--g-amber); transition: height 700ms ease 300ms; }
.chip { position: absolute; left: var(--x); top: var(--y); width: 22%; height: 11%; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; background: #1B1824; border: 1px solid var(--line); font-weight: 700; font-size: 0.75rem; transition: left 800ms cubic-bezier(.2, .8, .2, 1), top 800ms cubic-bezier(.2, .8, .2, 1), opacity 500ms ease, border-color 300ms ease; }
.chip i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.chip.ok i { background: #50E1AE; box-shadow: 0 0 8px #50E1AE; }
.chip.ci i { background: #FFD56B; animation: blink 1s ease-in-out infinite; }
.chip.bad i { background: #FF6EC7; }
.chip.conflict { border-color: #FF8A3D; color: var(--muted); } .chip.conflict i { background: #FF8A3D; }
.chip.merged { background: transparent; border-color: transparent; padding-left: 14px; justify-content: flex-start; }
.chip.merged i { background: #FFB347; box-shadow: 0 0 10px #FFB347; }
@keyframes blink { 50% { opacity: 0.35; } }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; }
.fact b { font-family: 'Protest Guerrilla', Figtree, sans-serif; font-weight: 400; font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1; }
.fact span { color: var(--muted); font-size: 0.875rem; }

/* The problem */
.problem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.problem-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 4vw, 44px); }
.problem-card p { margin: 0; max-width: 46ch; }
.big { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
.big .bit { color: transparent; -webkit-background-clip: text; background-clip: text; background-image: var(--g-sky); }
.big .blitz { font-family: 'Protest Guerrilla', Figtree, sans-serif; font-weight: 400; letter-spacing: 0.01em; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: var(--sunset); }
.chaos { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.chaos li { display: flex; gap: 12px; align-items: baseline; }
.chaos li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--g-pink)); transform: translateY(-1px); }

/* Section intro */
.sec-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; max-width: 60ch; width: fit-content; padding: 20px 26px 22px; border-radius: 20px; background: var(--panel); -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15); border: 1px solid var(--line); }
.sec-head p { color: var(--paper); opacity: 0.8; }
.sec-head h2 { margin: 0; font-family: 'Protest Guerrilla', Figtree, sans-serif; font-weight: 400; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 0.95; letter-spacing: 0.01em; text-transform: none; color: var(--paper); }
.sec-head p { margin: 0; color: var(--muted); }
.num { display: inline-block; font-family: 'Protest Guerrilla', Figtree, sans-serif; font-size: 1.125rem; letter-spacing: 0.04em; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: var(--sunset-x); }

/* Eight things it does */
.does { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.does article { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.does h3 { margin: 0; font-size: 1.25rem; letter-spacing: -0.01em; display: flex; gap: 12px; align-items: baseline; }
.does p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

/* Hooks: ten refusals */
.hooks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 10px; }
.hooks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-size: 0.9375rem; }
.hooks .no { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 0.875rem; color: var(--night); background: var(--g-pink); }
.hooks .stop { grid-column: 1 / -1; background: var(--panel); border-style: dashed; border-color: var(--line-strong); }
.hooks .stop .no { background: var(--g-amber); }

/* Merge queue flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px; counter-reset: step; }
.flow li { position: relative; padding: 18px 16px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); font-size: 0.9375rem; counter-increment: step; }
.flow li::before { content: counter(step); display: block; margin-bottom: 10px; font-family: 'Protest Guerrilla', Figtree, sans-serif; font-size: 1.5rem; line-height: 1; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: var(--c, var(--g-sky)); }
.flow b { display: block; margin-bottom: 4px; }
.flow span { color: var(--muted); }
.queue-notes { margin: 16px 0 0; padding: 0 0 0 1.2em; columns: 2; column-gap: 32px; color: var(--muted); font-size: 0.9375rem; }
.queue-notes li { break-inside: avoid; margin-bottom: 6px; }

/* Session brief: the things an agent sees, as rows */
.brief { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.brief-card { padding: 20px; font-size: 0.9375rem; }
.brief-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.brief-top .dot { width: 8px; height: 8px; border-radius: 50%; background: #50E1AE; display: inline-block; margin-right: 8px; box-shadow: 0 0 10px #50E1AE; }
.brief-rows { display: flex; flex-direction: column; gap: 8px; }
.brief-rows div { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgba(27, 24, 36, 0.8); }
.brief-rows span { display: block; width: 14px; height: 14px; border-radius: 4px; background: var(--c, var(--g-sky)); }

/* Skills */
.skills { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.skill { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.skill code { align-self: flex-start; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9375rem; padding: 6px 10px; border-radius: 8px; background: rgba(27, 24, 36, 0.9); border: 1px solid var(--line); }
.skill p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

/* Where it fits */
.fits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.fit { display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.fit h3 { margin: 0; font-size: 1.25rem; letter-spacing: -0.01em; }
.fit p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.fit p b { color: var(--paper); font-weight: 700; }
.fit-who { color: var(--paper); }
.fit-sum { background: rgba(27, 24, 36, 0.78); border-color: var(--line-strong); }
.fit-sum p { color: var(--paper); }
.cites { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 16px; }
.cite { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; }
.cite p { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.cite q { quotes: "\201C" "\201D"; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: var(--sunset-x); }
.cite footer { color: var(--muted); font-size: 0.875rem; }

/* Install */
.install { display: flex; flex-direction: column; gap: 16px; padding: clamp(26px, 4vw, 44px); }
.install p { margin: 0; max-width: 60ch; }
.cmd { position: relative; margin: 0; padding: 18px 20px; padding-right: 92px; border-radius: 14px; background: #0b0a10; border: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9375rem; line-height: 1.6; overflow-x: auto; white-space: pre; color: var(--paper); }
.cmd .c { color: var(--muted); }
.copy { position: absolute; right: 10px; top: 10px; min-height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line-strong); background: transparent; color: var(--paper); font: inherit; font-family: Figtree, system-ui, sans-serif; font-weight: 600; font-size: 0.8125rem; cursor: pointer; }
.copy:hover { border-color: var(--paper); }
.copy.done { background: var(--paper); color: var(--night); }

/* Honest section */
.honest { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: clamp(36px, 6vw, 72px) 24px; }
.honest p { margin: 0; max-width: 56ch; }
.honest-big { font-family: 'Protest Guerrilla', Figtree, sans-serif; font-size: clamp(2.5rem, 8vw, 5.5rem); line-height: 1; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: var(--sunset); padding-bottom: 6px; }

@media (max-width: 860px) {
  .bs-hero, .problem, .brief { grid-template-columns: minmax(0, 1fr); }
  .qsim { max-width: 440px; }
  .queue-notes { columns: 1; }
}
@media (max-width: 520px) {
  .nav-links a[href="#does"], .nav-links a[href="#fits"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .chip, .qsim-bar span, .qsim-line::before { transition: none; }
}
