/* PigeonBox Dispatch — homepage composition. Shared system lives in dispatch.css. */

/* ---------- A. Hero ---------- */

.hero { position: relative; padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--rule); overflow: hidden; isolation: isolate; }
.hero-postmark { position: absolute; z-index: -1; top: clamp(4px, 2vw, 28px); right: max(-40px, calc((100vw - var(--max)) / 2 - 60px)); width: min(760px, 62vw); height: min(420px, 34vw); transform: rotate(-7deg); }
.hero-grid { position: relative; }
@media (max-width: 1000px) { .hero-postmark { top: auto; bottom: 30%; right: -80px; width: 640px; height: 360px; opacity: .8; } }
@media (max-width: 640px) { .hero-postmark { bottom: auto; top: 250px; right: -150px; width: 520px; height: 300px; opacity: .7; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: clamp(22px, 3vw, 34px); }
.hero .display { font-size: clamp(46px, 6.4vw, 92px); }
.hero-line2 { display: block; color: var(--pigeon-deep); }
.hero .lede { margin-top: clamp(22px, 2.6vw, 30px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-utility { margin-top: 26px; color: var(--muted); }
.hero-utility i { font-style: normal; color: var(--copper); padding: 0 6px; }
.hero-keys { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; color: var(--faint); letter-spacing: .08em; }
.hero-keys kbd { margin-left: 6px; }
.hero-keys kbd:first-child { margin-left: 0; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .hero-copy { max-width: 720px; } }
@media (hover: none) { .hero-keys { display: none; } }

/* Dispatch console */
.console {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid #000; box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 40px 80px -40px rgba(17,18,20,.55), 0 0 0 6px var(--paper-2);
  font-size: 14px; min-width: 0;
}
.console-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--ink-rule); background: #0c0d0f; }
.console-status { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-status em { font-style: normal; color: var(--copper-bright); }
.console-mode { margin-left: auto; }
.console-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--ink-rule); }
.console-tabs button {
  display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 12px;
  background: none; border: 0; border-right: 1px solid var(--ink-rule); cursor: pointer;
  color: var(--ink-muted); font: 500 13.5px/1 var(--sans); text-align: left; position: relative;
  transition: color var(--t-hover) var(--ease), background var(--t-hover) var(--ease);
}
.console-tabs button:last-child { border-right: 0; }
.console-tabs button b { margin-left: auto; font: 500 12px/1 var(--mono); color: inherit; font-variant-numeric: tabular-nums; }
.console-tabs button .key { min-width: 16px; height: 16px; font-size: 9.5px; }
.console-tabs button:hover { color: var(--ink-text); background: var(--ink-2); }
.console-tabs button[aria-pressed="true"] { color: var(--ink-text); background: var(--ink-2); }
.console-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--copper-bright); }
.console-tabs button[aria-pressed="true"] b { color: var(--copper-bright); }
.console-body { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); min-height: 270px; }
.console-list { border-right: 1px solid var(--ink-rule); }
.c-row {
  display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 4px 10px; width: 100%;
  padding: 13px 14px; background: none; border: 0; border-bottom: 1px solid var(--ink-rule);
  color: var(--ink-text); text-align: left; cursor: pointer; font: inherit;
  transition: background var(--t-hover) var(--ease);
}
.c-row::before { content: ""; grid-row: 1 / 3; align-self: center; width: 6px; height: 6px; border-radius: 50%; background: var(--copper-bright); opacity: 0; transition: opacity var(--t-hover) var(--ease); }
.c-row:hover { background: var(--ink-2); }
.c-row[aria-pressed="true"] { background: var(--ink-3); }
.c-row[aria-pressed="true"]::before { opacity: 1; }
.c-row strong { font-weight: 550; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-row time { font: 500 11px/1.5 var(--mono); color: var(--ink-muted); }
.c-row span { grid-column: 2 / 4; color: var(--ink-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-row.is-arriving { animation: arrive 360ms var(--ease) both; }
@keyframes arrive { from { opacity: 0; transform: translateX(-10px); } }
.c-more { padding: 12px 14px; font: 500 11px/1 var(--mono); color: #6e757e; letter-spacing: .08em; }
.console-detail { padding: 16px 18px 18px; display: flex; flex-direction: column; min-width: 0; }
.console-summary { font: 400 21px/1.28 var(--serif); letter-spacing: -.01em; color: var(--ink-text); margin: 10px 0 18px; text-wrap: pretty; }
.console-next-label { margin-bottom: 6px; }
.console-next { color: var(--ink-text); font-size: 14px; padding-left: 12px; border-left: 2px solid var(--copper-bright); }
.console-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.console-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
  background: var(--ink-2); border: 1px solid #3a3f46; border-radius: var(--r); cursor: pointer;
  color: var(--ink-text); font: 500 13px/1 var(--sans);
  transition: border-color var(--t-hover) var(--ease), background var(--t-hover) var(--ease);
}
.console-btn .key { min-width: 16px; height: 16px; font-size: 9.5px; }
.console-btn:hover, .console-btn[aria-expanded="true"] { border-color: var(--copper-bright); background: var(--ink-3); }
.console-btn:disabled { opacity: .4; cursor: default; border-color: #3a3f46; }
.console-drawer { border-top: 1px solid var(--ink-rule); padding: 14px 18px 16px; background: #0c0d0f; }
.console-drawer.is-open { animation: drawer 260ms var(--ease) both; }
@keyframes drawer { from { opacity: 0; transform: translateY(-4px); } }
.console-drawer .label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.console-drawer .label .tag { height: 18px; font-size: 9.5px; }
.console-drawer p:not(.label) { color: var(--ink-text); font-size: 14px; }
.console-drawer cite { display: block; margin-top: 8px; font: 500 11px/1.5 var(--mono); color: var(--ink-muted); font-style: normal; }
.console-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--ink-rule); background: #0c0d0f; font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #737a83; }
.console-keys { display: inline-flex; align-items: center; gap: 4px; }
.console-keys kbd { min-width: 18px; height: 18px; font-size: 9.5px; }
.console-keys kbd + kbd { margin-left: 0; }
@media (max-width: 640px) {
  .console { box-shadow: 0 0 0 4px var(--paper-2); }
  .console-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .console-tabs::-webkit-scrollbar { display: none; }
  .console-tabs button { flex: none; min-height: 44px; }
  .console-tabs button .key { display: none; }
  .console-body { grid-template-columns: 1fr; min-height: 0; }
  .console-list { border-right: 0; }
  .c-more { display: none; }
  .console-detail { border-top: 1px solid var(--ink-rule); }
  .console-summary { font-size: 19px; }
  .console-keys { display: none; }
  .console-mode .state { font-size: 0; gap: 0; }
  .console-mode .state::after { content: "Local"; font-size: 10.5px; margin-left: 6px; }
}

/* ---------- B. Dispatch route ---------- */

.route { --stop: 0; }
.route-rail { position: relative; height: 56px; }
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-svg path { fill: none; vector-effect: non-scaling-stroke; }
.route-ghost { stroke: var(--rule-strong); stroke-width: 1.25; stroke-dasharray: 3 5; }
.route-path { stroke: var(--copper); stroke-width: 1.75; stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 560ms var(--ease); }
.route-bird { position: absolute; inset: 0; transform: translateX(calc(var(--stop) * 20%)); transition: transform 560ms var(--ease); pointer-events: none; }
.route-bird .pidgy { position: absolute; left: 10%; bottom: 8px; margin-left: -14px; }
.route-stops { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--text); }
.route-stops button {
  display: grid; justify-items: center; gap: 6px; padding: 16px 4px 18px; min-height: 64px;
  background: none; border: 0; cursor: pointer; color: var(--muted); position: relative;
  transition: color var(--t-hover) var(--ease);
}
.route-stops button::before { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--rule-strong); transition: background var(--t-content) var(--ease), border-color var(--t-content) var(--ease), transform var(--t-content) var(--ease); }
.route-stops button.is-passed::before { border-color: var(--copper); background: var(--copper-wash); }
.route-stops button[aria-selected="true"]::before { background: var(--copper); border-color: var(--copper); transform: scale(1.35); }
.route-stops .n { font: 500 11px/1 var(--mono); letter-spacing: .1em; }
.route-stops .name { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.route-stops button:hover, .route-stops button[aria-selected="true"] { color: var(--text); }
.route-stops button[aria-selected="true"] .n { color: var(--copper); }
.route-panels { margin-top: clamp(28px, 4vw, 48px); }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; min-height: 290px; }
.stage.is-entering .stage-copy { animation: stage-in 340ms var(--ease) both; }
.stage.is-entering .stage-copy + * { animation: stage-in 420ms var(--ease) 60ms both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(10px); } }
.stage-copy .label { margin-bottom: 14px; }
.stage-copy h3 { margin-bottom: 14px; font-size: clamp(28px, 3vw, 40px); }
.stage-copy p:not(.label) { color: var(--muted); font-size: 17px; max-width: 48ch; }
@media (max-width: 760px) {
  .stage { grid-template-columns: 1fr; min-height: 0; }
  .route-stops .name { font-size: 9.5px; letter-spacing: .06em; }
  .route-rail { height: 44px; }
}

/* Stage artifacts */
.slip, .mini-companion, .mini-compose, .bins, .mini-timeline { background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--r-lg); padding: 20px 22px; position: relative; }
.slip { border-style: dashed; }
.slip-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.slip-row:last-of-type { border-bottom: 0; }
.slip-row span { font: 500 10.5px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.slip-row b { font-weight: 500; }
.slip-pending { color: var(--copper); font-family: var(--mono); font-size: 13px; }
.stamp {
  position: absolute; right: 18px; top: -16px; width: 56px; height: 64px;
  display: grid; place-items: center; align-content: center; gap: 2px;
  font: 400 22px/1 var(--serif); color: var(--copper); background: var(--sheet);
  border: 1.5px solid var(--copper); outline: 3px dotted var(--copper); outline-offset: -8px;
  transform: rotate(6deg);
}
.stamp small { font: 500 7.5px/1 var(--mono); letter-spacing: .14em; }
.bins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bin { border: 1px solid var(--rule); border-radius: var(--r); padding: 12px; min-height: 74px; display: grid; align-content: start; gap: 8px; }
.bin span { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bin i { font-style: normal; font-size: 13px; padding: 6px 8px; background: var(--paper); border-left: 2px solid var(--copper); }
.bin.is-hit { border-color: var(--copper); }
.bin.is-hit span { color: var(--copper); }
.stage.is-entering .bin.is-hit i { animation: drop 480ms var(--ease) 180ms both; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } }
.bin-rule { grid-column: 1 / -1; font: 500 12px/1.4 var(--mono); color: var(--muted); padding-top: 4px; }
.bin-rule span { color: var(--copper); margin-right: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; }
.mini-companion .mc-sum { font: 400 20px/1.3 var(--serif); margin: 10px 0 14px; }
.mini-companion ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.mini-companion li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.mini-companion li span { font: 500 10.5px/1.7 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.mcp-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.mini-compose p { font-size: 15px; margin-bottom: 10px; }
.mcp-bottom { display: flex; align-items: center; gap: 12px; margin-top: 16px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.mcp-send { padding: 9px 16px; background: #1a5fd0; color: #fff; border-radius: 16px; font: 600 13px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.mini-timeline { list-style: none; margin: 0; }
.mini-timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; align-items: baseline; }
.mini-timeline li:last-child { border-bottom: 0; }
.mini-timeline time { font: 500 12px/1 var(--mono); color: var(--faint); }
.mini-timeline .sig { color: var(--signal); }
.mini-timeline .sig span { font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-left: 8px; }
.mini-timeline .quiet { color: var(--muted); }

/* ---------- C. Product lab ---------- */

.lab-window { border: 1px solid var(--text); border-radius: var(--r-lg); background: var(--sheet); overflow: hidden; box-shadow: 0 50px 90px -60px rgba(17,18,20,.5); }
.lab-top { display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.lab-brand { display: inline-flex; align-items: center; gap: 8px; font: 400 17px/1 var(--serif); }
.lab-brand i { font-style: normal; color: var(--faint); font-family: var(--sans); font-size: 13px; }
.lab-flag { color: var(--copper); }
.lab-keys { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--faint); letter-spacing: .06em; }
.lab-keys kbd { min-width: 18px; height: 18px; font-size: 9.5px; }
.lab-keys kbd + kbd { margin-left: 0; }
.lab-layout { display: grid; grid-template-columns: 168px minmax(0, 1.15fr) minmax(0, 1fr); min-height: 520px; }
.lab-rail { padding: 16px 10px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--muted); }
.rail-compose { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; margin-bottom: 12px; border: 1px solid var(--rule-strong); border-radius: var(--r); background: var(--paper); color: var(--text); font-weight: 500; width: fit-content; }
.rail-item { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: var(--r); }
.rail-item b { font: 500 11px/1.6 var(--mono); }
.rail-item.is-on { background: var(--paper-3); color: var(--text); font-weight: 550; }
.rail-item.is-pb { color: var(--copper); }
.rail-sep { margin: 16px 10px 6px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.lab-inbox { border-right: 1px solid var(--rule); display: flex; flex-direction: column; min-width: 0; }
.lab-tabs { display: flex; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.lab-tabs::-webkit-scrollbar { display: none; }
.lab-tabs button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; font: 500 14px/1 var(--sans); color: var(--muted); transition: color var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease); }
.lab-tabs button b { font: 500 11px/1 var(--mono); color: var(--faint); }
.lab-tabs button:hover { color: var(--text); }
.lab-tabs button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--copper); }
.lab-tabs button[aria-pressed="true"] b { color: var(--copper); }
.lab-list { flex: 1; }
.l-row {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 2px 12px; width: 100%;
  padding: 14px 16px; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; cursor: pointer; font: inherit; color: var(--text);
  transition: background var(--t-hover) var(--ease); position: relative;
}
.l-row:hover { background: var(--paper); }
.l-row[aria-pressed="true"] { background: var(--paper-2); }
.l-row[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--copper); }
.l-row .av { grid-row: 1 / 4; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--sans); color: var(--sheet); background: var(--wing); }
.l-row .av.a2 { background: var(--pigeon-deep); }
.l-row .av.a3 { background: var(--copper); }
.l-row .av.a4 { background: #6f6a5f; }
.l-row strong { font-weight: 550; font-size: 14px; }
.l-row time { font: 500 11px/1.6 var(--mono); color: var(--faint); }
.l-row b { grid-column: 2 / 4; font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-row small { grid-column: 2 / 4; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-row.is-arriving { animation: arrive 320ms var(--ease) both; }
.lab-note { padding: 12px 16px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .06em; color: var(--faint); border-top: 1px solid var(--rule); }
.lab-companion { display: flex; flex-direction: column; min-width: 0; background: var(--sheet); }
.comp-tabs { display: flex; border-bottom: 1px solid var(--rule); }
.comp-tabs button { flex: 1; min-height: 48px; padding: 0 10px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.comp-tabs button:hover { color: var(--text); }
.comp-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
.comp-panel { padding: 20px 20px 8px; flex: 1; }
.comp-panel.is-entering { animation: stage-in 280ms var(--ease) both; }
.comp-title { font: 400 26px/1.15 var(--serif); letter-spacing: -.012em; margin: 10px 0 10px; }
.comp-copy { color: var(--muted); font-size: 15px; }
.comp-facts { display: grid; grid-template-columns: 72px minmax(0, 1fr); margin: 18px 0 0; border-top: 1px solid var(--rule); font-size: 14px; }
.comp-facts dt, .comp-facts dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.comp-facts dt { font: 500 10.5px/1.9 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.comp-next { margin-top: 18px; padding: 14px; background: var(--paper); border-left: 2px solid var(--copper); }
.comp-next strong { display: block; margin-top: 6px; font-weight: 550; font-size: 14.5px; }
.comp-foot { padding: 12px 20px; border-top: 1px solid var(--rule); font: 500 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.tone { display: inline-flex; border: 1px solid var(--rule-strong); border-radius: var(--r); overflow: hidden; }
.tone button { min-height: 36px; padding: 0 14px; border: 0; background: none; cursor: pointer; font: 500 13px/1 var(--sans); color: var(--muted); }
.tone button + button { border-left: 1px solid var(--rule-strong); }
.tone button[aria-pressed="true"] { background: var(--ink); color: var(--sheet); }
.draft-text { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--rule); background: var(--paper); font-size: 15px; line-height: 1.6; min-height: 120px; white-space: pre-line; }
.draft-text.is-typing::after { content: "▍"; color: var(--copper); animation: blink 1s steps(1) infinite; }
.draft-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.draft-foot [data-draft-state].is-done { color: var(--signal); }
.ask-form { display: flex; gap: 8px; }
.ask-form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--rule-strong); border-radius: var(--r); background: var(--paper); font: 400 15px/1 var(--sans); color: var(--text); }
.ask-form input:focus { outline: 2px solid var(--copper); outline-offset: 1px; }
.ask-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ask-suggest button { min-height: 32px; padding: 0 10px; border: 1px dashed var(--rule-strong); border-radius: var(--r); background: none; cursor: pointer; font-size: 13px; color: var(--muted); }
.ask-suggest button:hover { border-style: solid; color: var(--text); border-color: var(--text); }
.ask-answer { margin-top: 16px; }
.ask-answer .label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ask-answer p:not(.label) { font-size: 15px; }
.ask-answer .src { margin-top: 12px; padding: 10px 12px; border: 1px solid var(--rule); background: var(--paper); font-size: 13.5px; color: var(--muted); }
.ask-answer .src span { display: block; font: 500 10.5px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--copper); }
.ask-answer .cov { margin-top: 10px; font: 500 10.5px/1.5 var(--mono); letter-spacing: .06em; color: var(--faint); }
@media (max-width: 1080px) {
  .lab-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lab-rail { display: none; }
}
@media (max-width: 760px) {
  .lab-layout { grid-template-columns: 1fr; min-height: 0; }
  .lab-inbox { border-right: 0; border-bottom: 1px solid var(--text); }
  .lab-keys { display: none; }
  .lab-tabs button { flex: none; }
  .comp-tabs button { min-height: 46px; letter-spacing: .06em; }
}

/* ---------- D. Capability glyphs ---------- */

.glyphs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--text); }
.glyph { padding: 0 clamp(14px, 1.6vw, 24px) 8px; border-left: 1px solid var(--rule); min-width: 0; }
.glyph:first-child { border-left: 0; padding-left: 0; }
.glyph:last-child { padding-right: 0; }
.glyph canvas { display: block; width: 100%; aspect-ratio: 4 / 3; margin: 18px 0 20px; }
.glyph .label { margin-bottom: 10px; }
.glyph h3 { font: 400 clamp(21px, 1.9vw, 26px)/1.12 var(--serif); letter-spacing: -.012em; margin-bottom: 10px; text-wrap: balance; }
.glyph p:not(.label) { color: var(--muted); font-size: 14.5px; }
@media (max-width: 1080px) {
  .glyphs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .glyph { padding: 0 18px 28px; border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .glyph:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  .glyphs { grid-template-columns: 1fr; }
  .glyph { display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 18px; padding: 18px 0; border-left: 0; }
  .glyph canvas { grid-row: 1 / 4; margin: 0; align-self: start; }
  .glyph .label, .glyph h3, .glyph p { grid-column: 2; }
}

/* ---------- E/F/G tweaks ---------- */

.cloud-board .section-head .lede { color: var(--ink-muted); }
.board-compact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, .8fr); border-bottom: 1px solid var(--ink-rule); }
.bc-col { padding: 26px 26px 30px 0; min-width: 0; }
.bc-col + .bc-col { padding-left: 26px; border-left: 1px solid var(--ink-rule); }
.bc-col > .label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.bc-n { font: 400 44px/.9 var(--serif); letter-spacing: -.03em; color: var(--ink-text); }
.bc-col ul { list-style: none; margin: 0; padding: 0; }
.bc-col li { font: 400 19px/1.25 var(--serif); padding: 6px 0; border-bottom: 1px dashed var(--ink-rule); }
.bc-col li:last-child { border-bottom: 0; }
.bc-col p:not(.label) { color: var(--ink-muted); font-size: 15px; line-height: 1.75; }
@media (max-width: 860px) {
  .board-compact { grid-template-columns: 1fr; }
  .bc-col, .bc-col + .bc-col { padding: 22px 0; border-left: 0; border-top: 1px solid var(--ink-rule); }
}
.board-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-rule); color: var(--ink-muted); }
.flow-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }

/* ---------- H. Final ticket ---------- */

.final { background: var(--paper-2); }
.ticket { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .7fr); background: var(--sheet); border: 1px solid var(--text); border-radius: var(--r-lg); }
.ticket-main { padding: clamp(28px, 5vw, 64px); }
.ticket-main .eyebrow { margin-bottom: 26px; }
.ticket-main .eyebrow b { color: var(--signal); }
.ticket .display { font-size: clamp(42px, 5.6vw, 80px); max-width: 14ch; }
.ticket .display span { display: block; color: var(--pigeon-deep); font-size: .62em; line-height: 1.08; margin-top: 10px; letter-spacing: -.015em; }
.ticket-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.ticket-stub { position: relative; padding: clamp(24px, 3vw, 40px); border-left: 2px dashed var(--rule-strong); display: flex; flex-direction: column; justify-content: center; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--text); }
.ticket-stub::before { top: -12px; clip-path: inset(50% 0 0 0); }
.ticket-stub::after { bottom: -12px; clip-path: inset(0 0 50% 0); }
.stub-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.stub-row span { font: 500 10.5px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.stub-row b { font-weight: 550; }
.ticket-bird { position: absolute; top: -66px; right: 30px; }
.stamp-lg { position: absolute; right: auto; left: clamp(24px, 3vw, 40px); top: auto; bottom: -20px; width: 64px; height: 74px; font-size: 24px; transform: rotate(-7deg); }
@media (max-width: 860px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket-stub { border-left: 0; border-top: 2px dashed var(--rule-strong); padding-bottom: 56px; }
  .ticket-stub::before { top: -12px; left: -12px; clip-path: inset(0 0 0 50%); }
  .ticket-stub::after { top: -12px; bottom: auto; left: auto; right: -12px; clip-path: inset(0 50% 0 0); }
  .ticket-bird { top: auto; bottom: 10px; right: 20px; }
}

.ask-answer.is-entering, .da-src.is-entering, .console-detail.is-entering { animation: stage-in 280ms var(--ease) both; }

@media (hover: none) {
  .console-btn .key, .console-tabs .key, .lab-keys, .console-keys { display: none; }
}
@media (max-width: 760px) { .lab-brand i { display: none; } }
