:root {
  --u: min(100vw / var(--page-scale) / 1440, (100svh / var(--page-scale) - 72px) / 828, 1px);
  --x0: max(0px, 50% - 720 * var(--u));
  --hero-h: calc(828 * var(--u));
}
@media (min-width: 1200px) and (min-height: 1020px) {
  :root { --hero-h: calc(788 * var(--u)); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--wall); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
::selection { background: var(--denim-pale); color: var(--ink); }
h1, h2, p, ol { margin: 0; }
img, svg { display: block; }
button, input { font: inherit; color: inherit; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.top { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 max(var(--page-gutter), (100% - var(--page-max)) / 2); background: var(--wall); }
.top-name { font-size: 20px; font-weight: 650; letter-spacing: -0.01em; line-height: 1; }

.hire { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; transition: background-color 0.15s, transform 0.12s var(--out); }
.hire-arrow { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hire:hover { background: var(--denim-deep); }
.hire:active { transform: scale(0.97); }
.hire:focus-visible { outline: 2px solid var(--denim-deep); outline-offset: 3px; }
.top .hire { position: fixed; z-index: 40; top: 14px; right: max(var(--page-gutter), (100% - var(--page-max)) / 2); transition: background-color 0.15s, color 0.15s, opacity 0.2s, transform 0.12s var(--out); }
.top .hire.is-on-dark { background: var(--wall); color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.top .hire.is-on-dark:hover { background: var(--wire); }
.top .hire.is-on-dark:focus-visible { outline-color: var(--wire); }
.top .hire.is-away { opacity: 0; pointer-events: none; }
.top .hire.is-away:focus-visible { opacity: 1; pointer-events: auto; }
.top-bar { display: contents; transition: background-color 0.15s, color 0.15s, opacity 0.2s; }
.top-exp { display: none; }
.hire-lg { height: 56px; padding: 0 26px; gap: 10px; font-size: 18px; }
.hire-lg .hire-arrow { width: 18px; height: 18px; }

.hero { position: relative; height: calc(var(--hero-h) + var(--grow, 0px)); background: var(--wall); }
.hero-ground, .hero-cut { background-color: var(--deep); }
.hero-ground { position: absolute; left: 0; right: 0; top: min(calc(var(--hero-h) - 88 * var(--u)), calc(100% - 88 * var(--u))); bottom: 0; }
.hero-cut { position: absolute; left: calc(var(--x0) + 476 * var(--u)); right: 0; top: calc(298 * var(--u)); bottom: 0; border-top-left-radius: calc(24 * var(--u)); }

.hero-portrait {
  --ps: 0.48; --pb: 16;
  position: absolute;
  left: calc(var(--x0) + (476 + var(--pb) - 1086 * var(--ps)) * var(--u)); top: calc(var(--hero-h) - (88 + 1270 * var(--ps)) * var(--u));
  width: calc(1086 * var(--ps) * var(--u)); height: calc(1448 * var(--ps) * var(--u));
  mix-blend-mode: multiply; filter: brightness(1.04);
}

.hero-copy { position: absolute; left: calc(var(--x0) + 476 * var(--u)); top: calc(40 * var(--u)); width: calc(900 * var(--u)); }
.hero-copy h1 { max-width: calc(620 * var(--u)); font-size: max(40px, 50 * var(--u)); font-weight: 650; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.hero-lede { margin-top: calc(16 * var(--u)); font-size: max(15px, 20 * var(--u)); font-weight: 400; line-height: 1.45; color: var(--ink-2); }

.hero-under { position: absolute; left: var(--page-edge); top: calc(var(--hero-h) - 34 * var(--u) + var(--grow, 0px) - 1em); border-radius: 4px; font-size: max(13px, 15 * var(--u)); font-weight: 600; line-height: 1.3334; color: var(--on-deep-2); text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 5px; white-space: nowrap; transition: color 0.15s, text-decoration-color 0.15s; }
.hero-under svg { display: inline-block; margin-left: 0.53em; vertical-align: -0.07em; width: 0.8em; height: 0.8em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--out); }
.hero-under:hover { color: var(--on-deep); text-decoration-color: var(--wire); }
.hero-under:hover svg { transform: translateY(2px); }
.hero-under:focus-visible { outline: 2px solid var(--wire); outline-offset: 4px; color: var(--on-deep); }

.story { position: relative; min-height: calc(100vh / var(--page-scale)); background: var(--deep); color: var(--on-deep); }

.hero-ask {
  --desk-r: calc(100cqi - var(--page-edge) - max(0px, 50cqi - 720 * var(--u)) - 504 * var(--u));
  --card-w: calc(var(--desk-r) - 46px - 376 * var(--u));
  --desk-l: calc(var(--card-w) + 46px);
  --desk-top: calc(146 * var(--u));
  position: absolute; z-index: 1; left: calc(var(--x0) + 504 * var(--u)); top: calc(266 * var(--u)); width: var(--card-w); height: calc(var(--hero-h) - 290 * var(--u));
}
.rag { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.rag ::selection { background: var(--denim-pale); color: var(--ink); }
.rag-ask { display: contents; }

.rag-form { position: relative; flex: none; width: calc(852 * var(--u)); height: calc(64 * var(--u)); border-radius: 14px; background: var(--card); box-shadow: var(--shadow-object); }
.rag-form.is-keyed:has(.rag-input:focus) { outline: 2px solid var(--denim-deep); outline-offset: 2px; box-shadow: var(--shadow-object), 0 0 0 2px var(--wire); }
.rag-input { display: block; width: 100%; height: 100%; padding: 0 calc(148 * var(--u)) 0 calc(24 * var(--u)); border: 0; border-radius: 14px; background: transparent; color: var(--ink); font-size: max(15px, 18 * var(--u)); caret-color: var(--denim-deep); transition: color 0.15s; }
.rag-input::placeholder { color: var(--ink-3); opacity: 1; }
.rag-input:focus { outline: none; }
.rag-form.is-busy .rag-input { color: var(--ink-3); caret-color: transparent; cursor: progress; }
.rag-form.is-busy .rag-input::placeholder { color: transparent; }
.hero-clear { position: absolute; top: 50%; right: calc(104 * var(--u)); display: grid; place-items: center; width: calc(36 * var(--u)); height: calc(36 * var(--u)); min-width: 28px; min-height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer; transform: translateY(-50%); transition: background-color 0.15s, color 0.15s; }
.hero-clear[hidden] { display: none; }
.hero-clear svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hero-clear:hover { background: var(--denim-pale); color: var(--ink); }
.hero-clear:focus-visible { outline: 2px solid var(--denim-deep); outline-offset: 0; }
.rag-send { position: absolute; top: calc(8 * var(--u)); right: calc(8 * var(--u)); bottom: calc(8 * var(--u)); min-width: calc(88 * var(--u)); padding: 0 calc(22 * var(--u)); border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-size: max(13px, 15 * var(--u)); font-weight: 600; cursor: pointer; transition: background-color 0.15s, opacity 0.2s, transform 0.12s var(--out); }
.rag-send:hover { background: var(--denim-deep); }
.rag-send:active { transform: scale(0.97); }
.rag-send:disabled { opacity: 0.55; cursor: progress; }
.rag-send:focus-visible { outline: 2px solid var(--denim-deep); outline-offset: 2px; }
.rag-form.is-typing .rag-input::placeholder { color: transparent; }
.hero-type { position: absolute; inset: 0 calc(148 * var(--u)) 0 calc(24 * var(--u)); display: flex; align-items: center; overflow: hidden; color: var(--ink); font-size: max(15px, 18 * var(--u)); white-space: pre; pointer-events: none; }
.hero-shown { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; overflow: hidden; color: var(--ink); font-size: 16px; white-space: pre; pointer-events: none; }
.hero-shown[hidden] { display: none; }
.rag-form.is-fitted .rag-input:not(:focus) { color: transparent; }
.hero-caret { flex: none; width: 2px; height: 1.15em; margin-left: 1px; border-radius: 1px; background: var(--denim-deep); }

.rag-chip { border: 0; background: none; cursor: pointer; }
.rag-ask > .rag-chips { flex: none; display: grid; grid-template-columns: repeat(2, max-content); justify-content: start; column-gap: calc(28 * var(--u)); row-gap: 0; margin-top: calc(12 * var(--u)); }
.rag-ask > .rag-chips .rag-chip:first-child { grid-column: 1 / -1; justify-self: start; }
.rag-ask > .rag-chips .rag-chip { position: relative; display: inline-flex; align-items: center; gap: calc(10 * var(--u)); height: calc(28 * var(--u)); padding: 0; border-radius: 4px; color: var(--on-deep); font-size: max(13px, 15 * var(--u)); font-weight: 600; line-height: 1.2; white-space: nowrap; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color 0.15s; }
.rag-ask > .rag-chips .rag-chip::before {
  content: ""; flex: none; width: calc(13 * var(--u)); height: calc(13 * var(--u)); background: var(--on-deep-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h10M8.5 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h10M8.5 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s var(--out), background-color 0.15s;
}
.rag-ask > .rag-chips .rag-chip:hover { color: var(--on-deep); text-decoration-line: underline; text-decoration-color: var(--wire); }
.rag-ask > .rag-chips .rag-chip:hover::before { background: var(--wire); transform: translateX(3px); }
.rag-ask > .rag-chips .rag-chip:focus-visible { outline: 2px solid var(--wire); outline-offset: 3px; }
.rag.asked .rag-ask > .rag-chips .rag-chip { color: var(--on-deep-2); }
.rag.asked .rag-ask > .rag-chips .rag-chip.is-current { color: var(--on-deep); text-decoration-line: underline; text-decoration-color: var(--wire); }
.rag.asked .rag-ask > .rag-chips .rag-chip.is-current::before { background: var(--wire); }
.rag.asked .rag-ask > .rag-chips .rag-chip:hover { color: var(--on-deep); }
.rag-ask > .rag-chips .rag-chip:disabled { cursor: progress; }
.rag-ask > .rag-chips .rag-chip:disabled:not(.is-current):hover { text-decoration-line: none; }
.rag-ask > .rag-chips .rag-chip:disabled:hover::before { transform: none; }
.rag-ask > .rag-chips .rag-chip::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 24px); transform: translateY(-50%); }
.rag-cite { position: relative; }
.rag-cite::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 26px); height: max(100%, 26px); transform: translate(-50%, -50%); }
@media (any-pointer: coarse) {
  .rag-body:not(.finding) .rag-p.cited { position: relative; }
  .rag-cite::after { width: 44px; height: 44px; }
  .rag-body:not(.finding) .rag-p.cited::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
  .rag-ask > .rag-chips { row-gap: max(0px, 44px - 28 * var(--u)); }
  .rag-ask > .rag-chips .rag-chip::after, .rag-send::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
}

.rag-card { order: 1; }
.rag-tools { position: absolute; left: 0; bottom: 0; font-size: max(12px, 13 * var(--u)); line-height: 1.25; color: var(--on-deep-2); }

.rag-card {
  position: relative; z-index: 1; display: flex; flex-direction: column; flex: none; width: 100%; margin-top: calc(14 * var(--u));
  padding: calc(20 * var(--u)) calc(22 * var(--u)) 0; border-radius: 16px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-screen); overflow: hidden;
}
.rag-status { flex: none; display: flex; align-items: center; gap: 10px; height: 22px; margin-bottom: calc(8 * var(--u)); font-size: max(12px, 14 * var(--u)); font-weight: 600; color: var(--ink-3); }
.rag-pips { display: none; }
.rag-body { flex: none; padding-bottom: calc(14 * var(--u)); transition: opacity 0.25s; }
.rag:not([data-state="running"]) .rag-status { display: none; }
.rag-wait { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rag[data-state="running"] .rag-wait::after { content: "…"; }
.rag-body.stale { opacity: 0.38; }
.rag-text { font-size: max(14px, 18.5 * var(--u)); line-height: 1.5; text-wrap: pretty; }
.rag-s { border-radius: 4px; transition: background-color 0.2s; }
.rag-s.lit { background: var(--denim-pale); }
.rag-cite { display: inline-grid; place-items: center; min-width: max(20px, 22 * var(--u)); height: max(20px, 22 * var(--u)); padding: 0 5px; border: 0; border-radius: 6px; background: var(--denim-deep); color: #fff; font-size: max(12px, 13 * var(--u)); font-weight: 650; line-height: 1; vertical-align: 1px; cursor: pointer; transition: background-color 0.15s; }
.rag-cite:hover { background: var(--ink); }
.rag-cite:focus-visible { outline: 2px solid var(--denim-deep); outline-offset: 2px; }
.rag-say { font-size: max(14px, 17 * var(--u)); line-height: 1.45; font-weight: 600; text-wrap: pretty; }
.rag[data-state="idle"] .rag-say, .rag[data-state="off"] .rag-say { font-size: max(13px, 15 * var(--u)); font-weight: 400; color: var(--ink-2); }
.rag[data-state="running"] .rag-idle { display: none; }
.rag-say-d { margin-top: 6px; font-size: max(12px, 14 * var(--u)); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.rag[data-state="refused"] .rag-say-d { display: none; }
.rag-card .rag-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: calc(14 * var(--u)); }
.rag-card .rag-chip { min-height: 32px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: max(12px, 13 * var(--u)); font-weight: 500; line-height: 1.25; text-align: left; transition: background-color 0.15s; }
.rag-card .rag-chip:hover { background: var(--denim-pale); }
.rag-card .rag-chip:focus-visible { outline: 2px solid var(--denim-deep); outline-offset: 2px; }

.rag-found-h { display: none; }
.rag-found { display: grid; margin: 0; padding: 0; list-style: none; }
.rag-found:not(:empty) { margin-top: calc(14 * var(--u)); padding-top: 6px; border-top: 1px solid var(--line); }
.rag-body.no-rows .rag-found { margin-top: 0; padding-top: 0; border-top: 0; }
.rag-p { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; row-gap: 2px; align-items: center; margin: 0 -10px; padding: 8px 10px; border-radius: 10px; transition: background-color 0.2s; }
.rag-p:not(.cited) { display: none; }
.rag-p.lit { background: var(--denim-pale); }
.rag-p:focus-visible { outline: 2px solid var(--denim-deep); outline-offset: -2px; }
.rag-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--denim-pale); color: var(--ink-2); font-size: 12px; font-weight: 650; }
.rag-p.cited .rag-n { background: var(--denim-deep); color: #fff; }
.rag-doc { min-width: 0; font-size: max(12px, 13 * var(--u)); font-weight: 650; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rag-score { display: none; }
.rag-q { grid-column: 2 / -1; font-size: max(12px, 13 * var(--u)); line-height: 1.42; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; overflow: hidden; }
.rag-body.finding .rag-found:not(:empty) { margin-top: 0; padding-top: 0; border-top: 0; }
.rag-body.finding .rag-p:not(.cited) { display: grid; }
.rag-body:not(.finding) .rag-found:not(:empty) { display: flex; flex-wrap: wrap; gap: 0 calc(14 * var(--u)); margin-top: calc(12 * var(--u)); padding-top: calc(8 * var(--u)); }
.rag-body:not(.finding) .rag-p.cited { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; margin: 0 -6px; padding: 3px 6px; border-radius: 8px; }
.rag-body:not(.finding) .rag-p.same-doc { margin-right: calc(-6px - 8 * var(--u)); }
.rag-body:not(.finding) .rag-p.same-doc .rag-doc { display: none; }
.rag-body:not(.finding) .rag-p .rag-n { width: 20px; height: 20px; }
.rag-body:not(.finding) .rag-q { display: none; }
.rag.is-preview .rag-score { display: none !important; }

.rag-foot { position: relative; flex: none; display: flex; align-items: center; justify-content: flex-end; margin: 0 calc(-18 * var(--u)); padding: calc(10 * var(--u)) calc(18 * var(--u)) calc(12 * var(--u)); border-top: 1px solid var(--line); }
.rag-foot .rag-status { flex: 1 1 auto; min-width: 0; height: auto; margin: 0 16px 0 0; line-height: 1.35; }
.rag-how { position: relative; margin: -3px -4px; padding: 3px 4px; border: 0; border-radius: 4px; background: none; color: var(--denim-deep); font-size: max(12px, 13 * var(--u)); font-weight: 600; line-height: 1.35; white-space: nowrap; cursor: pointer; text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color 0.15s; }
.rag-how::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: max(100%, 32px); transform: translateY(-50%); }
@media (any-pointer: coarse) { .rag-how::after { top: auto; bottom: calc(3px - 12 * var(--u)); height: 44px; transform: none; } }
.rag-how:hover { text-decoration-color: currentColor; }
.rag-how:focus-visible { outline: 2px solid var(--denim-deep); outline-offset: 1px; }

.rag-body.arrive .rag-s, .rag-body.arrive .rag-say, .rag-body.arrive .rag-say-d, .rag-body.arrive .rag-chips { animation: rag-fade 0.3s var(--out) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
.rag-body.arrive .rag-found-h, .rag-body.arrive .rag-p { animation: rag-fade 0.3s var(--out) both; animation-delay: calc(var(--lead, 100ms) + var(--i, 0) * 40ms); }
@keyframes rag-fade { from { opacity: 0; } }

.hero-slips, .rag-pane { position: absolute; left: var(--desk-l); top: var(--desk-top); width: calc(var(--desk-r) - var(--desk-l)); bottom: 0; }.rag[data-view="detail"] .hero-slips, .rag[data-view="simple"] .rag-pane { visibility: hidden; }
.rag[data-view="detail"] .rag-panel { animation: rag-fade 0.25s ease-out both; }

.hero-slip {
  --paper: #FCFDFE; --paper-ink: #262C34; --paper-ink-3: #546271; --paper-shade: 40 60 92; --marker: #E8F36B;
  position: absolute; display: flex; flex-direction: column; padding: 14px 18px 26px 22px; border-radius: 3px;
  background-color: var(--paper); background-image: linear-gradient(150deg, rgb(255 255 255 / 0.9), rgb(255 255 255 / 0) 45%);
  color: var(--paper-ink); font-family: "Newsreader", Georgia, serif; font-optical-sizing: auto;
  box-shadow: 1px 1px 1px rgb(0 0 0 / 0.22), 2px 5px 8px rgb(0 0 0 / 0.22), 8px 16px 28px -6px rgb(0 0 0 / 0.38);
  transform: rotate(var(--turn, 0deg)); transform-origin: 50% 50%;
}
.hero-slip::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='3' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.22 0 0 0 0 0.26 0.5 0 0 0 -0.22'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.022' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.22 0 0 0 0 0.25 0 0 0 0 0.3 0.16 0 0 0 -0.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}
.hero-slip-title { flex: none; padding-bottom: 6px; margin-bottom: 8px; border-bottom: 1px solid rgb(var(--paper-shade) / 0.14); font-family: var(--sans); font-size: max(12px, 12.5 * var(--u)); font-weight: 600; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--paper-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-slip-text { flex: none; overflow: hidden; font-size: calc(max(13px, 16.5 * var(--u)) - var(--slip-shrink, 0px)); line-height: 1.45; text-wrap: pretty; }
.hero-slip.is-cut .hero-slip-text { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--fade, 1.45em)), rgb(0 0 0 / 0.08)); mask-image: linear-gradient(to bottom, #000 calc(100% - var(--fade, 1.45em)), rgb(0 0 0 / 0.08)); }
.hero-slip-pre { color: var(--paper-ink-3); }
.hero-slip-hl {
  padding: 1px 2px; margin: -1px -2px; border-radius: 3px; color: inherit; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-color: transparent; background-image: linear-gradient(var(--marker), var(--marker)); background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%;
  transition: background-size 0.2s var(--out);
}
.hero-slip.is-lit .hero-slip-hl, .hero-slip-hl.is-lit { background-size: 100% 100%; }
.hero-slip-part { display: block; }
.hero-slip-keep { white-space: nowrap; }
.hero-slip-mark { position: absolute; left: -11px; top: 14px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--denim-deep); box-shadow: 0 0 0 1px var(--wire); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 650; line-height: 1; }
.hero-slip.is-quiet { padding-top: 14px; padding-bottom: 0; }
.hero-slip.is-quiet .hero-slip-title { color: var(--paper-ink-3); }
.hero-slips[data-shows] .hero-slip { animation: rag-fade 0.22s ease-out both; }
.hero-slips, .hero-wires { transition: opacity 0.25s; }
.rag.is-retyping .rag-body, .rag.is-retyping .hero-slips, .rag[data-state="running"] .hero-slips { opacity: 0.38; }
.rag.is-retyping .hero-wires { opacity: 0; }
.rag[data-poster="pending"] .rag-card, .rag[data-poster="pending"] .hero-slips, .rag[data-poster="pending"] .hero-wires, .rag[data-poster="pending"] .rag-ask > .rag-chips, .rag[data-poster="pending"] .rag-tools { visibility: hidden; }
.rag.is-poster .rag-body.arrive *, .rag.is-poster .hero-slips[data-shows] .hero-slip, .rag.is-poster .rag-map.fresh * { animation: none !important; }
.rag.is-poster .rag-map.fresh .links line:not(.far) { stroke-dasharray: none; stroke-dashoffset: 0; }
.rag.is-poster .hero-slip-hl { transition: none; }

.rag-pane { height: auto !important; opacity: 1 !important; display: flex; flex-direction: column; container: hero-map / size; }
.rag-panel { display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; background: none; }
.rag-panel > * { flex: none; }
.rag-panel > .rag-map { display: block; flex: 0 1 auto; min-height: 0; width: 100%; height: auto; overflow: visible; }
.rag-map .dots, .rag-map .labels { opacity: 0; transition: opacity 0.6s ease-out; }
.rag[data-ready="true"] .rag-map .dots { opacity: 0.7; }
.rag[data-ready="true"] .rag-map .labels { opacity: 1; }
.rag-map .dots circle { fill: var(--on-deep-2); r: 5px; }
.rag-map .labels text { fill: var(--on-deep); font-family: var(--sans); font-size: 24px; font-weight: 600; text-anchor: middle; dominant-baseline: central; transition: fill 0.2s; }
.rag-map .labels .is-out { display: none; }
.rag[data-state="done"] .rag-map .labels text { fill: var(--on-deep-2); }
.rag-map .query circle { fill: var(--signal); r: 12px; }
.rag-map .query .ring { fill: none; stroke: var(--signal); stroke-width: 3.4; r: 30px; }
.rag-map .links line { stroke: var(--wire); stroke-width: 3.4; opacity: 0.8; transition: stroke 0.2s, opacity 0.2s; }
.rag-map .links line.far { stroke: var(--on-deep-2); stroke-dasharray: 7 9; opacity: 0.5; }
.rag-map .links line.lit { stroke: #fff; opacity: 1; }
.rag-map .marks circle { r: 22px; fill: var(--deep-2); stroke: var(--wire); stroke-width: 3.4; transition: fill 0.2s, stroke 0.2s; }
.rag-map .marks .far circle { stroke: var(--deep-line); }
.rag-map .marks text { fill: var(--on-deep); font-family: var(--sans); font-size: 26px; font-weight: 650; dominant-baseline: central; transform: translateY(-4px); transition: fill 0.2s; }
.rag-map .marks .far text { fill: var(--on-deep-2); }
.rag-map .marks .lit circle { fill: #fff; stroke: #fff; }
.rag-map .marks .lit text { fill: var(--deep); }
.rag-map .hero-leaders line { stroke: var(--wire); stroke-width: 2.4; opacity: 0.9; }
.rag-map .hero-leaders circle { fill: var(--wire); r: 6px; }
.rag[data-state="done"] .rag-map .marks g:not(.cited), .rag[data-state="done"] .rag-map .links line:not(.cited) { display: none; }
.rag-map.fresh .query circle:not(.ring), .rag-map.fresh .marks g { transform-box: fill-box; transform-origin: center; animation: rag-pop 0.45s var(--out) both; }
.rag-map.fresh .marks g { animation-delay: calc(140ms + var(--i, 0) * 70ms); }
.rag-map.fresh .query .ring { transform-box: fill-box; transform-origin: center; animation: rag-ring 0.9s var(--out) both; }
.rag-map.fresh .links line:not(.far) { stroke-dasharray: 700; stroke-dashoffset: 700; animation: rag-draw 0.7s var(--out) forwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rag-pop { from { opacity: 0; transform: scale(0.4); } }
@keyframes rag-ring { from { opacity: 0; transform: scale(2.4); } }
@keyframes rag-draw { to { stroke-dashoffset: 0; } }
.hero-mapline { margin-top: calc(12 * var(--u)); font-size: max(12px, 13 * var(--u)); line-height: 1.35; color: var(--on-deep); text-wrap: pretty; }
.hero-figures { margin-top: calc(10 * var(--u)); font-size: max(12px, 13 * var(--u)); font-weight: 600; line-height: 1.35; color: var(--on-deep); }
.hero-figures:empty { display: none; }
.rag-trace { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: calc(12 * var(--u)); row-gap: 8px; margin: calc(12 * var(--u)) 0 0; padding: 0; list-style: none; font-size: max(11px, 12 * var(--u)); line-height: 1.35; }
.rag-trace li { position: relative; min-width: 0; padding-top: 6px; }
.rag-trace li::before, .rag-trace li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--deep-line); }
.rag-trace li::after { background: var(--wire); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--out); }
.rag-trace li[data-s="on"]::after { transform: scaleX(0.88); transition: transform 9s cubic-bezier(0.1, 0.6, 0.2, 1); }
.rag-trace li[data-s="done"]::after { transform: scaleX(1); }
.rag-trace b { display: block; font-weight: 650; color: var(--on-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rag-note { display: block; min-height: 1.35em; color: var(--on-deep-2); }
@container hero-map (max-height: 340px) { .rag-trace .rag-note { display: none; } }
.rag.is-replay .rag-trace .rag-note { display: none; }
.rag-models { display: none; }

.hero-wires { position: absolute; z-index: 2; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; }
.hero-wire { fill: none; stroke: var(--wire); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; }
.hero-port-face { transform-box: fill-box; transform-origin: center; }
.hero-port rect { fill: var(--denim-deep); stroke: var(--wire); stroke-width: 1px; }
.hero-port text { fill: #fff; font-family: var(--sans); font-size: 12px; font-weight: 650; text-anchor: middle; dominant-baseline: central; }
.hero-pulse { fill: none; stroke: var(--wire); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }

@keyframes hero-fade { from { opacity: 0; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(10px); } }
.rise-in { animation: hero-fade 0.5s ease-out backwards; }
.rise, .rag-form, .rag-ask > .rag-chips, .rag-card, .rag-tools, .hero-slips { animation: hero-rise 0.4s var(--out) backwards; animation-delay: calc(var(--d, 0) * 40ms); }
.rag-form { --d: 2; }
.rag-ask > .rag-chips, .rag-card, .rag-tools, .hero-slips { --d: 3; }

.surface { position: relative; padding-top: 72px; background: var(--deep); }
.surface::before { content: ""; position: absolute; left: calc(var(--x0) + 640 * var(--u)); right: 0; top: 0; height: 73px; border-top-left-radius: 24px; background: var(--wall); }
.surface-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 208px; padding: 24px max(16px, var(--x0) + 56 * var(--u)); background: var(--wall); }
.surface h2 { font-size: 38px; font-weight: 650; line-height: 42px; letter-spacing: -0.02em; }
.surface-note { margin-top: 12px; font-size: 12px; line-height: 16px; color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  .rise-in, .rise, .rag-form, .rag-ask > .rag-chips, .rag-panel, .rag-card, .rag-tools, .hero-slips, .hero-slips[data-shows] .hero-slip, .rag[data-view] .rag-panel { animation: none; }
  .rag-map .dots, .rag-map .labels, .rag-map .labels text { transition: none; }
  .rag-input, .hero-clear, .rag-body { transition: none; }
  .rag-map.fresh .query circle, .rag-map.fresh .query circle:not(.ring), .rag-map.fresh .query .ring, .rag-map.fresh .marks g, .rag-map.fresh .links line:not(.far) { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .rag-trace li::after, .rag-trace li[data-s="on"]::after, .hero-slip-hl { transition: none; }
  .rag-trace li[data-s="on"]::after { transform: scaleX(0.5); }
  .rag-body.arrive * { animation-delay: 0s !important; animation-duration: 0.2s !important; }
  .rag-body.finding * { animation: none !important; }
  .hire, .top .hire, .top-bar, .top-exp, .rag-send, .rag-chip, .rag-how, .rag-ask > .rag-chips .rag-chip::before, .hero-under, .hero-under svg, .hero-slips, .hero-wires { transition: none; }
}

.hero-port .hero-port-dot { fill: var(--wire); }

@media (min-width: 1200px) {
  :root {
    --fs-60: 38px;
    --fs-20: 16px;
    --fs-16: 14px;
    --fs-14: 12px;
    --fs-12: 12px;
    --fs-slip: max(13px, 16 * var(--u));
  }
  .hero-copy { container: hero-copy / inline-size; left: var(--page-edge); top: calc(40 * var(--u)); width: max(1020 * var(--u), 100cqi - 2 * var(--page-edge) - 1086 * 0.28 * var(--u)); }
  .hero-copy h1 { max-width: none; font-size: var(--fs-60); font-weight: 650; line-height: 1.02; text-wrap: balance; }
  .hero-lede, .rag-input, .hero-type { font-size: var(--fs-20); }
  .rag-text { font-size: var(--fs-20); line-height: 1.5; }
  .rag-say { font-size: var(--fs-20); font-weight: 400; }
  .hero-slip-text { font-size: calc(var(--fs-slip) - var(--slip-shrink, 0px)); line-height: 1.625; }
  .rag-ask > .rag-chips .rag-chip, .rag-send, .hero-under, .hero-mapline, .rag-say-d { font-size: var(--fs-16); }
  .rag[data-state="idle"] .rag-say, .rag[data-state="off"] .rag-say { font-size: var(--fs-16); }
  .rag-how, .hero-figures { font-size: var(--fs-14); }
  .rag-tools, .hero-slip-title, .rag-trace, .rag-status, .rag-doc, .rag-q { font-size: var(--fs-12); }
  .rag-cite, .hero-slip-mark, .rag-n { font-size: var(--fs-12); font-weight: 650; }
  .rag-card .rag-chip { font-size: var(--fs-12); font-weight: 600; }
  .rag-map .labels text { font-size: calc(14px / var(--map-scale)); }
  .rag-map .marks text { font-size: calc(12px / var(--map-scale)); font-weight: 650; }

  .rag-body:not(.finding) .rag-found, .rag-body:not(.finding) .rag-found:not(:empty) { display: none; }
  .rag-ask > .rag-chips { grid-template-rows: repeat(2, calc(28 * var(--u))); }
  .rag.asked .rag-ask > .rag-chips .rag-chip.is-current { display: none; }
  .rag.asked:has(.rag-chip.is-current) .rag-ask > .rag-chips .rag-chip:first-child { grid-column: auto; }

  .hero-cut { left: 0; top: calc(328 * var(--u)); border-top-left-radius: 0; }
  .hero-portrait {
    --ps: 0.28;
    left: calc(100cqi - var(--page-edge) - 1086 * var(--ps) * var(--u));
    top: calc((328 - 1270 * var(--ps)) * var(--u));
  }
  .hero-ask {
    --card-w: calc(700 * var(--u));
    --desk-l: calc(var(--card-w) + 46px);
    --desk-r: calc(100cqi - 2 * var(--page-edge));
    --desk-top: calc(146 * var(--u));
    left: var(--page-edge); top: calc(296 * var(--u)); width: var(--card-w);
    height: calc(var(--hero-h) - 330 * var(--u) - var(--fs-16) - 34px);
  }
  .hero { height: var(--hero-fit, calc(var(--hero-h) + var(--grow, 0px))); }
  .hero-under { top: var(--under-top, calc(var(--hero-h) - 34 * var(--u) + var(--grow, 0px) - 1em)); }
  .hero-under { z-index: 1; }
  .hero-under::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 24px); transform: translateY(-50%); }
  .hero-slips { bottom: calc(100% - var(--desk-top) - var(--desk-h, 100% - var(--desk-top))); }
  .rag-pane { bottom: calc(100% - var(--desk-top) - var(--pane-h, var(--desk-h, 100% - var(--desk-top))) - 9px); }
  .rag-panel { display: grid; grid-template-columns: minmax(0, 1fr) calc(208 * var(--u)); grid-template-rows: repeat(3, auto) 1fr; column-gap: 32px; align-content: start; height: 100%; }
  .rag-panel > .rag-map { grid-column: 1; grid-row: 1 / -1; width: 100%; height: auto; max-height: 100cqh; }
  .rag-panel > :not(.rag-map) { grid-column: 2; }
  .hero-mapline { margin-top: 0; line-height: 1.45; }
  .rag-trace { grid-template-columns: minmax(0, 1fr); row-gap: calc(10 * var(--u)); margin-top: calc(14 * var(--u)); }
  .rag-form { width: calc(856 * var(--u)); }
  .rag-tools { position: static; order: 2; margin-top: calc(14 * var(--u)); }
}

@media (min-width: 1296px) and (min-height: 817.2px) {
  :root { --fs-20: 20px; --fs-16: 16px; --fs-14: 14px; }
}
@container hero-copy (min-width: 985px) {
  .hero-copy h1 { font-size: 60px; text-wrap: wrap; }
}

@media (max-width: 1199.98px) {
  :root { --u: 1px; }
  .top { padding: 0 24px; }
  .top .hire { right: 24px; }
  .hero { display: flex; flex-direction: column; height: auto; padding: 32px 24px 0; }
  .hero-ground, .hero-cut { display: none; }
  .hero-copy { position: static; width: auto; max-width: 680px; }
  .hero-copy h1 { font-size: clamp(34px, 6vw, 52px); }
  .hero-lede { font-size: 19px; }
  .hero-portrait { position: relative; left: auto; top: auto; order: 1; align-self: center; width: min(100%, 420px); height: auto; margin-top: 24px; }
  .hero-ask { position: relative; inset: auto; order: 2; width: auto; height: auto; margin: calc(min(100%, 420px) * -0.1639) -24px 0; padding: 0 24px 24px; background: var(--deep); }
  .rag { align-items: stretch; height: auto; }
  .rag-form { width: 100%; height: 60px; margin-top: -30px; }
  .rag-ask > .rag-chips { grid-template-columns: minmax(0, 1fr); margin-top: 20px; gap: 4px; }
  .rag-ask > .rag-chips .rag-chip { height: auto; min-height: 44px; font-size: 16px; white-space: normal; text-align: left; }
  .rag.asked .rag-ask > .rag-chips { width: auto; margin-top: 14px; column-gap: 20px; }
  .rag.asked .rag-ask > .rag-chips .rag-chip { height: auto; min-height: 44px; font-size: 14px; }
  .rag-card { order: 1; flex: none; padding: 18px 18px 0; }
  .rag-foot { margin: 0 -18px; padding: 10px 18px 12px; }
  .rag-tools { position: static; order: 4; margin-top: auto; padding-top: 14px; font-size: 13px; }
  .hero-slips { position: relative; order: 2; left: auto; top: auto; width: 100%; max-width: 420px; height: 360px; margin-top: 24px; }
  .rag-pane { position: static; order: 3; width: 100%; max-width: 420px; margin-top: 20px; }
  .rag[data-view="simple"] .rag-pane, .rag[data-view="detail"] .hero-slips { display: none; }
  .hero-wires { display: none; }
  .rag-map .labels text { font-size: 22px; }
  .rag-text, .rag-say { font-size: 16px; }
  .rag-input { padding: 0 144px 0 18px; font-size: 17px; }
  .hero-clear { right: 96px; width: 44px; height: 44px; }
  .rag-send { top: 8px; right: 8px; bottom: 8px; min-width: 80px; padding: 0 18px; font-size: 16px; }
  .rag-status, .rag-doc, .rag-q { font-size: 13.5px; }
  .rag-pane { container-type: normal; }
  .hero { min-height: var(--hero-floor, 0px); }
  .hero-ask { flex-grow: 1; display: flex; flex-direction: column; }
  .hero-ask > .rag { flex: 1 0 auto; }
  .rag-trace { display: grid; font-size: 12px; }
  .hero-under { position: static; order: 4; margin: 0 -24px; padding: 16px 24px 32px; background: var(--deep); }
  .hero-under { border-radius: 0; }
  .hero-under:focus-visible { outline-offset: -6px; }
  .surface { padding-top: 48px; }
  .surface::before { left: 24px; height: 49px; }
  .surface-in { flex-direction: column; align-items: flex-start; min-height: 0; padding: 48px 24px 72px; }
}

@media (max-width: 599.98px) {
  .top { height: 56px; padding: 0 16px; }
  .top-name { font-size: 18px; }
  .top-bar {
    --bar-lift: 0 1px 2px rgb(0 0 0 / 0.16), 0 6px 18px -6px rgb(0 0 0 / 0.32);
    position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: center; height: 52px; border-radius: 10px;
    background: var(--ink); color: #fff; box-shadow: var(--bar-lift);
  }
  .top-bar:has(.hire.is-on-dark) { background: var(--wall); color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--bar-lift); }
  .top-bar:has(.hire:is(.is-early, .is-away)):not(:has(:focus-visible)) { opacity: 0; pointer-events: none; }
  .top-bar:has(:focus-visible) .hire { opacity: 1; pointer-events: auto; }
  .top .hire {
    position: static; flex: 1 1 auto; min-width: 0;
    justify-content: center; height: 52px; padding: 0 12px; border-radius: 10px; font-size: 16px;
  }
  .top .hire.is-on-dark { box-shadow: none; }
  .top .hire.is-early { opacity: 0; pointer-events: none; }
  .top .hire.is-early:focus-visible { opacity: 1; pointer-events: auto; }
  .top-exp {
    display: inline-flex; flex: none; align-items: center; gap: 4px; height: 44px; margin-left: 4px; padding: 0 10px;
    border-radius: 6px; box-shadow: inset 0 0 0 1px currentColor; color: inherit;
    font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }
  .top-exp-arrow { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .top-exp:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
  .top-bar.is-in-hire .top-exp { display: none; }

  .hero { --ph: min(208px, 26svh); padding: 0 16px; }
  .hero-portrait {
    order: 0; align-self: flex-end; width: calc(var(--ph) * 0.97838); max-width: calc(100% - 160px); height: calc(var(--ph) * 1.16036); margin: -56px 0 0;
    object-fit: cover; object-position: 50% 100%; -webkit-mask-image: none; mask-image: none;
  }
  .hero-copy { position: relative; inset: auto; order: 1; max-width: none; margin: calc(var(--ph) * -0.16036) -16px 0; padding: 20px 16px 0; background: var(--deep); color: var(--on-deep); }
  .hero-copy h1 { font-size: clamp(28px, 7.7vw, 30px); line-height: 1.1; letter-spacing: -0.025em; }
  .hero-lede { margin-top: 10px; font-size: 16px; line-height: 24px; color: var(--on-deep-2); }
  .hero-ask { margin: 0 -16px; padding: 24px 16px 0; }
  .rag-form { height: 56px; margin-top: 0; }
  .rag-input { padding-left: 16px; font-size: 16px; }
  .rag-ask > .rag-chips { align-items: stretch; gap: 0; margin-top: 8px; }
  .rag-ask > .rag-chips .rag-chip { justify-content: flex-start; gap: 12px; min-height: 48px; padding: 12px 0; font-size: 16px; line-height: 22px; border-radius: 0; }
  .rag-ask > .rag-chips .rag-chip:not(.is-current) ~ .rag-chip:not(.is-current) { box-shadow: inset 0 1px 0 var(--deep-line); }
  .rag-ask > .rag-chips .rag-chip::before { width: 14px; height: 14px; }
  .rag.asked .rag-ask > .rag-chips { flex-direction: column; flex-wrap: nowrap; margin-top: 8px; }
  .rag.asked .rag-ask > .rag-chips .rag-chip.is-current { display: none; }
  .rag.asked .rag-ask > .rag-chips .rag-chip { min-height: 44px; font-size: 16px; color: var(--on-deep-2); }
  .rag-card { margin-top: 16px; }
  .rag.asked .rag-card { margin-top: 12px; }
  .rag-text, .rag-say { font-size: 16px; }
  .rag-cite { font-size: 12px; }
  .rag[data-state="idle"] .rag-say, .rag[data-state="off"] .rag-say { max-width: none; font-size: 16px; }
  .rag-status, .rag-doc { font-size: 14px; }
  .rag-card .rag-chip, .rag-how { font-size: 14px; }
  .hero-slips { order: 2; max-width: none; height: auto; margin-top: 24px; }
  .rag[data-state="done"] .hero-slips { margin-top: 44px; }
  .hero-wires { display: block; }
  .hero-slip-text { font-size: 16px; line-height: 1.45; }
  .hero-slip-title { font-size: 12px; }
  .hero-slip-mark { left: auto; right: -11px; top: -11px; }
  .rag-pane { order: 2; max-width: none; margin-top: 24px; }
  .hero-mapline { font-size: 14px; line-height: 20px; }
  .rag-map .labels text { font-size: 19px; }
  .hero-figures, .rag-trace { display: none !important; }
  .rag-tools { order: 5; padding-top: 28px; font-size: 12px; }
  .rag.asked .rag-tools { padding-top: 20px; }
  .hero-under { margin: 0 -16px; padding: 20px 16px 36px; font-size: 16px; }
  .hero-slip-post { display: none; }
}
@media (width < 375px) {
  .rag .rag-body:not(.finding) .rag-found:not(:empty) { row-gap: 18px; }
}

@media (max-width: 374.98px) {
  .top .hire { font-size: 14px; }
}
