/* Landing: a desktop of real report windows. Everything on it is a recorded headline and its market's minutes. */
.desk { position: relative; height: var(--H); --H: clamp(720px, 100svh, 1040px); --W: calc(100vw - var(--rail)); overflow: hidden; }
.desk-head { position: absolute; left: 40px; top: calc(var(--H) * .045); width: 62%; z-index: 1; }
.desk-head h1 { font-size: clamp(34px, min(calc(var(--W) * .052), calc(var(--H) * .068)), 72px); line-height: 1.0; }
.desk-head h1 .g { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
/* Motion Prompt #005 Mask reveal: the words leave and enter through the line's own edge; opacity never changes */
.swap { display: inline-block; transform: translateY(0); transition: transform 650ms cubic-bezier(.22, 1, .36, 1); }
.swap.out { transform: translateY(-115%); transition: transform 350ms cubic-bezier(.6, -.28, .735, .045); }
.swap.in { transform: translateY(115%); transition: none; }
.lede { margin: 12px 0 0; max-width: 32em; font-size: 20px; line-height: 28px; letter-spacing: -0.01em; color: var(--mute); }
.ways { display: flex; gap: 28px; margin-top: 4px; }

/* windows */
.win { position: absolute; display: flex; flex-direction: column; background: var(--paper); border-radius: 3px; box-shadow: 0 0 0 1px rgb(var(--shade) / .08), 0 1px 2px -1px rgba(0, 0, 0, .06), 0 12px 32px -12px rgba(0, 0, 0, .12); transition: box-shadow 250ms var(--ease), transform 650ms var(--out), opacity 650ms var(--out); will-change: transform; }
.win.front { box-shadow: 0 0 0 1px rgb(var(--shade) / .14), 0 1px 2px -1px rgba(0, 0, 0, .08), 0 24px 48px -16px rgba(0, 0, 0, .18); }
.win-bar { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); cursor: grab; user-select: none; touch-action: none; flex: none; }
.win-bar:active { cursor: grabbing; }
.win-bar .n { font: 400 13px/1 var(--mono); color: var(--off); }
.win-bar .name { font-size: 15px; letter-spacing: -0.01em; }
.win-bar .path { font: 400 13px/1 var(--mono); color: var(--grey); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.win-bar .pill { margin-left: auto; }
.win-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 14px 16px; }

.win.dragging { transition: box-shadow 250ms var(--ease); }
.w-report.opening { opacity: 0; transform: translate(-22px, -22px) scale(.975) !important; }
.w-report.back { box-shadow: 0 0 0 1px rgb(var(--shade) / .08), 0 8px 20px -14px rgba(0, 0, 0, .12); }
.w-report .win-body { transition: opacity 650ms var(--out); }
.w-report.back .win-body { opacity: .38; }
.w-report.back .readout { opacity: 0; }
.w-report.leaving { opacity: 0; }
.w-report { left: 25%; top: calc(var(--H) * .37); width: 50.5%; height: calc(var(--H) * .615); z-index: 4; }
.w-board { right: 28px; top: calc(var(--H) * .045); width: 33.5%; height: calc(var(--H) * .395); z-index: 2; }
.w-radar { left: 28px; top: calc(var(--H) * .43); width: 24.5%; height: calc(var(--H) * .47); z-index: 3; }
.w-proof { right: 28px; top: calc(var(--H) * .48); width: 23.5%; height: calc(var(--H) * .40); z-index: 1; }

/* report window */
.post-meta { display: flex; gap: 10px; align-items: baseline; font: 400 13px/18px var(--mono); color: var(--grey); }
.post-meta a { margin: -13px 0 -13px auto; min-height: 44px; display: inline-flex; align-items: center; color: var(--mute); }
.post-text { margin: 6px 0 0; font-size: 20px; line-height: 27px; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 54px; }
.market { margin-top: 6px; font-size: 15px; line-height: 20px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.market .mono { color: var(--grey); font-size: 13px; }
.fan-wrap { position: relative; flex: 1; min-height: 140px; margin: 6px -6px 0; }
.fan-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.readout { position: absolute; right: 8px; top: 2px; font: 400 13px/18px var(--mono); color: var(--mute); background: rgb(var(--paper-rgb) / .86); padding: 2px 6px; pointer-events: none; }
.vals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 0; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; align-items: end; }
.vals div { min-width: 0; }
.vals dt { font-size: 13px; color: var(--grey); }
.vals dd { margin: 2px 0 0; font: 400 20px/26px var(--mono); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; position: relative; display: inline-block; }
.vals dd::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.vals dd.sweep::after { animation: sweep 1.4s var(--out); }
@keyframes sweep { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.vals .lead dd { font-size: 28px; line-height: 28px; }
.label { justify-self: end; align-self: center; }
.label .stamp { display: inline-block; padding: 7px 9px; border: 1px solid var(--ink); border-radius: 2px; }
.label .stamp.dim { border-color: var(--off); color: var(--grey); }
.src { margin-top: 10px; font-size: 13px; line-height: 18px; color: var(--grey); display: flex; gap: 12px; justify-content: space-between; }
.src a { color: var(--mute); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; margin: -13px 0; }

/* board window */
.rows-view { position: relative; flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent 0, #000 16px, #000 82%, transparent); mask-image: linear-gradient(transparent 0, #000 16px, #000 82%, transparent); }
.rows { list-style: none; margin: 0; padding: 0; will-change: transform; }
.rows li { display: grid; grid-template-columns: 58px minmax(0, 1fr) 62px; gap: 10px; align-items: center; height: 44px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--mute); transition: background-color 250ms var(--ease), color 250ms var(--ease); }
.rows li .t { font: 400 13px/1 var(--mono); color: var(--grey); }
.rows li .h { display: block; line-height: 44px; height: 44px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; transition: color 150ms var(--press); }
.rows li a.h:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.rows li .v { font: 400 13px/1 var(--mono); text-align: right; font-variant-numeric: tabular-nums; }
.rows li.cur { color: var(--ink); background: rgb(var(--shade) / .035); }
.rows li.cur .v { color: var(--ink); font-weight: 500; }
.tally { padding-bottom: 8px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; font: 400 13px/18px var(--mono); color: var(--grey); }
.tally b { font-weight: 500; color: var(--ink); }

/* radar and proof windows: honest states */
.empty h3 { margin: 4px 0 0; font-size: 15px; line-height: 21px; font-weight: 500; letter-spacing: -0.01em; }
.empty p { margin: 6px 0 0; font-size: 13px; line-height: 19px; color: var(--grey); }
.empty .ul { font-size: 14px; }
.rule { margin-top: 10px; display: grid; gap: 6px; font-size: 13px; line-height: 19px; color: var(--mute); }
.rule div { display: grid; grid-template-columns: 22px 1fr; }
.rule .mono { color: var(--off); font-size: 13px; }
.radar .tally { padding-bottom: 8px; }
.alerts { list-style: none; margin: 0; padding: 0; }
.alerts li { display: grid; gap: 1px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 18px; }
.alerts .at { font-family: var(--mono); color: var(--grey); }
.alerts .mt { color: var(--ink); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.alerts .mv { font-family: var(--mono); color: var(--mute); font-variant-numeric: tabular-nums; }
.alerts .later { font-family: var(--mono); color: var(--ink); }
.radar .rule { margin-top: 6px; gap: 0; }
.radar .rule div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alerts li { padding: 6px 0; }
.slotline { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 10px; font: 400 13px/18px var(--mono); color: var(--grey); }
.slotline b { display: block; font-weight: 400; color: var(--ink); font-size: 20px; line-height: 26px; }

/* ---------- below the fold ---------- */
.sec { padding: 120px 40px; border-top: 1px solid var(--line); }
.sec h2 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; max-width: 18em; }
.sec .kicker { font: 400 13px/18px var(--mono); color: var(--grey); margin-bottom: 18px; display: block; }
.reveal { transition: opacity 800ms var(--out), transform 800ms var(--out); }
html.js .reveal:not(.seen) { opacity: 0; transform: translateY(24px); }

/* how it works: one bar of stages */
.bar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 56px; border-top: 2px solid var(--ink); }
.bar > div { padding: 16px 20px 0 0; border-right: 1px solid var(--line); margin-right: 20px; }
.bar > div:last-child { border-right: 0; }
.bar .mono { font-size: 13px; color: var(--grey); }
.bar h3 { margin: 10px 0 0; font-size: 20px; line-height: 26px; font-weight: 400; letter-spacing: -0.02em; }
.bar p { margin: 8px 0 0; font-size: 15px; line-height: 22px; color: var(--grey); }
.bar-note { margin-top: 32px; color: var(--grey); font-size: 15px; }

/* the opening window: the week's lines, from a window to full bleed */
.open { position: relative; height: 260vh; border-top: 1px solid var(--line); }
.open-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.open-frame { position: relative; margin-top: calc(24vh - var(--k, 0) * 24vh); width: calc(var(--k, 0) * 55% + 45%); height: calc(var(--k, 0) * 40vh + 60vh); background: var(--paper); box-shadow: 0 0 0 1px rgb(var(--shade) / calc(.1 - var(--k, 0) * .1)); border-radius: calc(3px - var(--k, 0) * 3px); overflow: hidden; }
.open-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.open-cap { position: absolute; left: 40px; top: 36px; max-width: 44em; z-index: 2; }
.open-cap h2 { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.08; }
.open-cap p { margin: 12px 0 0; color: var(--mute); font-size: 15px; line-height: 22px; }
.open-legend { position: absolute; right: 40px; top: 48px; z-index: 2; display: grid; gap: 6px; font: 400 13px/18px var(--mono); color: var(--mute); }
.open-legend span { display: inline-flex; align-items: center; gap: 10px; }
.open-legend i { display: inline-block; width: 28px; height: 0; border-top: 2px solid var(--ink); }
.open-legend i.b { border-top: 1px solid rgb(var(--ink-rgb) / .35); }
.open-legend i.a { border-top: 1px solid rgb(var(--grey-rgb) / .45); }
.open-legend i.p { width: 8px; height: 8px; border: 0; background: var(--ink); }

/* features: statements on grey fields */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 48px; }
.field { background: var(--panel); border-radius: 2px; padding: 32px 32px 28px; min-height: 280px; display: flex; flex-direction: column; }
.field:nth-child(2), .field:nth-child(3) { background: var(--panel-2); }
.field .top { display: flex; justify-content: space-between; font: 400 13px/18px var(--mono); color: var(--grey); }
.field p.st { margin: auto 0 0; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -0.035em; max-width: 15em; }
.field p.st .g { color: var(--grey); }
.field svg { width: 120px; height: 72px; margin-top: 18px; }

/* stats: total and its receipt */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 48px; align-items: start; }
.total .big { font-size: clamp(96px, 11vw, 168px); line-height: .9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.total p { margin: 18px 0 0; font-size: 17px; line-height: 26px; color: var(--mute); max-width: 26em; }
.receipt { border-top: 2px solid var(--ink); }
.receipt div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.receipt div span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.receipt div.sum { border-bottom: 2px solid var(--ink); font-weight: 500; }
.receipt .note { display: block; border: 0; padding: 12px 0 0; color: var(--grey); font-size: 14px; line-height: 20px; }

/* proof: a table of what anyone can check */
.checks { width: 100%; border-collapse: collapse; margin-top: 48px; font-size: 15px; }
.checks th { text-align: left; font: 400 13px/18px var(--mono); color: var(--grey); padding: 0 16px 12px 0; border-bottom: 1px solid var(--line-2); }
.checks td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 22px; }
.checks td:first-child { width: 28%; }
.checks td .mono { font-size: 13px; color: var(--mute); }

/* faq: wide heading, indented questions */
.faq h2 { max-width: none; font-size: clamp(40px, 5vw, 72px); }
.qs { margin: 48px 0 0 22%; }
.qs details { border-top: 1px solid var(--line); }
.qs details:last-child { border-bottom: 1px solid var(--line); }
.qs summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; cursor: pointer; font-size: 20px; letter-spacing: -0.02em; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary .mono { font-size: 13px; color: var(--off); transition: color 150ms var(--press); }
.qs details[open] summary .mono { color: var(--mute); }
.qs details p { margin: 0 0 22px; max-width: 40em; color: var(--mute); font-size: 16px; line-height: 25px; }

/* cta: one word is the button */
.word { display: block; text-decoration: none; padding: 40px 40px 56px; border-top: 1px solid var(--line); }
.word .w { display: block; font-size: clamp(72px, 15vw, 232px); line-height: .9; letter-spacing: -0.065em; transition: color 250ms var(--ease); }
.word:hover .w { color: var(--grey); }
.word:active .w { transform: scale(.995); }
.word p { margin: 18px 0 0; color: var(--mute); max-width: 36em; font-size: 16px; line-height: 24px; }

/* footer statement: contact as the headline */
.contact { padding: 72px 40px 32px; border-top: 1px solid var(--line); }
.contact a.h { font-size: clamp(48px, 7vw, 112px); line-height: 1; letter-spacing: -0.05em; text-decoration: none; display: inline-block; min-height: 44px; }
.contact a.h:hover { color: var(--grey); }
.contact p { margin: 16px 0 0; color: var(--grey); font-size: 15px; }

@media (max-width: 1100px) and (min-width: 861px) {
  .w-radar { width: 31%; }
  .w-proof { display: none; }
}
@media (max-width: 860px) {
  .desk { height: auto; overflow: visible; padding: 20px 16px 24px; display: flex; flex-direction: column; }
    .w-report { order: 1; } .w-board { order: 2; } .w-radar { order: 3; } .w-proof { order: 4; }
  .desk-head { position: static; width: auto; }
  .desk-head h1 { font-size: 29px; line-height: 1.06; }
  .lede { font-size: 16px; line-height: 24px; }
  .win { position: relative; left: auto; right: auto; top: auto; width: auto; margin-top: 16px; }
  .w-report { height: 600px; }
  .w-board, .w-radar, .w-proof { height: auto; }
  .w-board .rows li:nth-child(n+6) { display: none; }
  .vals { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .label { grid-column: 1 / -1; justify-self: start; }
  .sec { padding: 72px 16px; }
  .bar { grid-template-columns: 1fr; }
  .bar > div { border-right: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 14px 0; }
  .open { height: 200vh; }
  .open-frame { width: calc(var(--k, 0) * 10% + 90%); }
  .open-cap { left: 16px; right: 16px; top: 24px; }
  .open-legend { left: 16px; right: auto; top: auto; bottom: 24px; }
  .fields, .split { grid-template-columns: 1fr; }
  .qs { margin-left: 0; }
  .checks, .checks tbody, .checks tr, .checks td { display: block; width: auto !important; }
  .checks thead { display: none; }
  .checks tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .checks td { border: 0; padding: 2px 0; }
  .word { padding: 32px 16px 40px; }
  .contact { padding: 48px 16px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal:not(.seen) { opacity: 1; transform: none; }
  .open { height: auto; }
  .open-stage { position: relative; height: 80vh; }
  .open-frame { width: 100%; height: 100%; }
}

/* ---------- live site additions ---------- */
.rows li .t .bt { display: block; margin-top: 3px; font: 400 11px/1 var(--mono); font-style: normal; color: var(--grey); }
.tally .tline { display: flex; flex-wrap: wrap; gap: 2px 12px; width: 100%; }
.tally .tn { color: var(--ink); }
.launchline { flex-wrap: wrap; align-items: center; gap: 4px 28px; margin-top: 10px; }
.launchline .cs { font: 500 clamp(26px, 2.6vw, 40px)/1 var(--mono); letter-spacing: .04em; color: var(--ink); padding: 6px 0; }
.launchline .go { font-size: 17px; font-weight: 500; text-decoration-color: var(--ink); }
.tokline { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; width: 100%; }
.tokline div { display: flex; gap: 8px; align-items: baseline; }
.tokline dt { font-size: 13px; color: var(--grey); }
.tokline dd { margin: 0; font-size: 17px; }
.w-report .cap { margin: 2px 0 0; font: 400 12px/16px var(--mono); color: var(--mute); }
.hidden-text { color: var(--mute); font-size: 17px; }
.alerts a.mt { text-decoration: none; }
.alerts a.mt:hover { text-decoration: underline; text-underline-offset: 3px; }
.slotline a { color: var(--ink); }
.bar-note a { color: var(--ink); }
.checks td a { color: var(--mute); }
@media (max-width: 860px) {
  .launchline .cs { font-size: 28px; }
}
