/* tsvtnv.com, redesigned 29 Nov 2026 in the marclou.com shape: a fixed profile column on the left,
   a feed of cards on the right. Dark, calm, decided. Colour only with meaning:
   orange = the brand, green = live from Stripe, amber = a dated snapshot or in build. */
:root {
  --bg: #0c0d0f; --surface: #141518; --raised: #1b1d21; --line: #25282d; --line-2: #32363c;
  --ink: #ebe9e4; --muted: #9a9c9f; --faint: #64676c;
  --brand: #ff6a1a; --ok: #3fbf7f; --wait: #e9b949;
  --display: "Michroma", "Instrument Sans", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--sans); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
img, svg, canvas { display: block; max-width: 100%; }
b { font-weight: 600; color: var(--ink); }
.num { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* layout */
.page { max-width: 1180px; margin: 0 auto; padding: 40px 24px 64px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.me { position: sticky; top: 40px; }
.feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }

/* the profile column */
.dots { position: absolute; left: 88px; top: -8px; width: 160px; height: 88px; pointer-events: none;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1.2px); background-size: 14px 14px;
  mask-image: linear-gradient(90deg, #000, transparent); -webkit-mask-image: linear-gradient(90deg, #000, transparent); }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); margin-bottom: 20px; }
h1 { font: 400 20px/1.3 var(--display); margin: 0 0 14px; letter-spacing: 0; }
.bio { margin: 0 0 10px; color: var(--muted); }
.follow { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.follow a, .follow .soon { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; min-height: 28px; }
.follow a:hover { color: var(--ink); text-decoration: none; }
.follow svg { width: 15px; height: 15px; fill: currentColor; }
.follow .n { font-family: var(--mono); font-size: 13px; }
.now { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.now b { color: var(--ink); }

/* cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; min-width: 0; }
.row-h { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 4px 0; font: 600 15px/1.3 var(--sans); }
.row-h .count { color: var(--muted); font: 500 13px var(--mono); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.card-head h2 { margin: 0; font: 600 20px/1.2 var(--sans); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-head .unit { color: var(--muted); font-weight: 400; font-size: 14px; }
.pill { font-size: 13px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 10px; background: var(--raised); white-space: nowrap; }
.status { margin: 6px 0 0; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.status[data-state="live"] .dot { background: var(--ok); }
.status[data-state="live"] { color: var(--ok); }
.status[data-state="snapshot"] .dot { background: var(--wait); }
.status[data-state="snapshot"] { color: var(--wait); }

/* revenue chart */
.chart-box { position: relative; }
.chart { width: 100%; height: 220px; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .ylab { font: 400 11px var(--mono); fill: var(--faint); }
.chart .bar { fill: var(--ink); }
.chart .bar.partial { fill: url(#hatch); stroke: var(--ink); stroke-width: 1; }
.chart .hit { fill: transparent; }
.chart .hit:hover + .bar, .chart g:hover .bar { fill: #ffffff; }
.chart .lab { font: 400 12px var(--sans); fill: var(--muted); }
.tip { position: absolute; pointer-events: none; background: var(--raised); border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 10px;
  font-size: 13px; white-space: nowrap; transform: translate(-50%, calc(-100% - 10px)); }
.tip .num { display: block; font-size: 14px; }
.tip .when { color: var(--muted); }
.kpis { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpis dt { color: var(--muted); font-size: 13px; }
.kpis dd { margin: 2px 0 0; font-size: 18px; }
.kpis dd.pending { font: 400 13px/1.4 var(--sans); color: var(--faint); }
.legend { margin: 14px 0 0; display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 10px; height: 10px; border-radius: 2px; }
.sw.solid { background: var(--ink); }
.sw.dash { border: 1px solid var(--ink); background: repeating-linear-gradient(135deg, var(--ink) 0 1px, transparent 1px 3px); }

/* products */
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product { padding: 16px 16px 12px; transition: border-color .15s ease; }
.product:hover { border-color: var(--line-2); }
.p-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
.p-ico { flex: none; width: 36px; height: 36px; border-radius: 9px; object-fit: cover; background: var(--raised); }
.p-ico.novtar { display: grid; place-items: center; background: var(--brand); }
.p-name { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-badge { flex: none; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: var(--raised); border: 1px solid var(--line-2); color: var(--ink); }
.p-badge.num { font-size: 12px; }
.p-badge.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.p-badge.snap { color: var(--wait); border-color: color-mix(in srgb, var(--wait) 35%, transparent); }
.p-badge.wait { color: var(--wait); border-color: color-mix(in srgb, var(--wait) 35%, transparent); }
.p-badge.none { color: var(--muted); }
.p-tag { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.spark { width: 100%; height: 48px; margin-top: 12px; overflow: visible; }
.spark path.line { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.spark path.fill { fill: var(--ink); opacity: .08; }
.spark path.part { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 3 3; }
.p-site { align-self: flex-start; margin-top: 10px; font: 500 12px var(--mono); color: var(--faint); }
.p-site:hover { color: var(--ink); text-decoration: none; }
.product { display: flex; flex-direction: column; padding-bottom: 14px; }
.product .p-tag { flex: 1; }
/* The one product with revenue read from Stripe gets the full row and its chart line (1 Dec 2026). */
.product.lead { grid-column: 1 / -1; }
.product.lead .spark { height: 56px; }
.products-note { margin-top: 2px; }

/* Videos (1 Dec 2026): the latest long-form large, older ones as rows, then the shorts cut from them. */
.vids { padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.vids > *, #vid-long { min-width: 0; }
.thumb { position: relative; display: block; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); aspect-ratio: 16 / 9; }
.thumb.tall { aspect-ratio: 9 / 16; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.play svg { width: 20px; height: 20px; fill: #141414; }
.vid-main { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.vid-main:hover, .vid-more a:hover, .shorts a:hover { text-decoration: none; }
.vid-main:hover .vid-title, .vid-more a:hover .vid-title, .shorts a:hover .vid-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.vid-text { display: grid; gap: 6px; min-width: 0; padding-right: 8px; }
.vid-kicker { color: var(--muted); font-size: 13px; }
.vid-title { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.vid-main .vid-title { font-size: 20px; line-height: 1.25; }
.vid-meta { color: var(--muted); font: 500 12px var(--mono); }
.vid-more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vid-more a { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: center; }
.vid-h { margin: 0 4px 10px; font: 600 13px/1.3 var(--sans); color: var(--muted); }
#vid-shorts-wrap { border-top: 1px solid var(--line); padding-top: 14px; }
#vid-shorts-wrap.only { border-top: 0; padding-top: 0; }
.shorts { list-style: none; margin: 0; padding: 0 0 4px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 10px; overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; }
.shorts li { scroll-snap-align: start; min-width: 0; }
.shorts a { display: grid; gap: 6px; }
.shorts .vid-title { font-size: 13px; font-weight: 500; -webkit-line-clamp: 2; }

/* Solace */
.solace { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; padding: 12px; }
.stage { position: relative; margin: 0; min-height: 420px; border-radius: 8px; overflow: hidden; background: var(--bg); border: 1px solid var(--line);
  touch-action: pan-y; cursor: grab; }
.stage:active { cursor: grabbing; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s ease; }
.stage.ready canvas { opacity: 1; }
.fallback { position: absolute; left: 50%; top: 50%; width: 400px; max-width: none; height: auto; transform: translate(-50%, -50%) rotate(-90deg); transition: opacity .4s ease; }
.stage.ready .fallback { opacity: 0; }
.stage-cap { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); pointer-events: none; }
.hint { transition: opacity .4s ease; }
.hint.gone { opacity: 0; }
.solace-text { padding: 8px 8px 8px 0; min-width: 0; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 16px 0; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.facts > div { background: var(--surface); padding: 10px 12px; }
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { margin: 2px 0 0; font-size: 15px; }
.facts .est { font: 400 11px var(--sans); color: var(--faint); margin-left: 6px; }
.progress { display: grid; gap: 16px; }
.progress h3 { margin: 0 0 8px; font: 600 13px/1.3 var(--sans); color: var(--muted); }
.ticks, .steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.ticks li, .steps li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 9px; height: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.steps { counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-2); font: 500 10px/14px var(--mono); text-align: center; color: var(--muted); }
.ticks li.muted::before, .steps li.muted::before { display: none; }

/* log */
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.log li:first-child { border-top: 0; padding-top: 0; }
.log li:last-child { padding-bottom: 0; }
.log time { color: var(--muted); font: 500 13px var(--mono); padding-top: 2px; }
.log p { margin: 0; }
.log .tag { color: var(--muted); font-size: 12px; padding-top: 2px; }




@media (max-width: 980px) {
  .page { grid-template-columns: 1fr; gap: 32px; padding: 28px 16px 48px; }
  .me { position: static; }
  .dots { display: none; }
  .solace { grid-template-columns: 1fr; }
  .stage { min-height: 360px; }
  .solace-text { padding: 4px 8px 8px; }
}
@media (max-width: 560px) {
  .vid-main { grid-template-columns: 1fr; gap: 12px; }
  .vid-main .vid-title { font-size: 18px; }
  .vid-more { grid-template-columns: 1fr; }
  .vid-more a { grid-template-columns: 120px minmax(0, 1fr); }
  .shorts { grid-auto-columns: 132px; }
  .products { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .log li { grid-template-columns: 1fr; gap: 2px; }
  .chart { height: 180px; }
  .fallback { width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage canvas, .fallback, .hint, .product { transition: none; }
}

/* 30 Nov 2026: top bar, newsletter (sign-up, issues, issue page), GitHub squares, site footer */
.top { max-width: 1180px; margin: 0 auto; padding: 16px 24px 0; display: flex; align-items: center; gap: 24px; }
.top-me { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.top-me img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid var(--brand); }
.top-me:hover { text-decoration: none; }
.top-nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; color: var(--muted); }
.top-nav a:hover { color: var(--ink); text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px;
  background: var(--brand); color: #141414; font: 600 14px var(--sans); cursor: pointer; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn.ghost { background: var(--raised); color: var(--ink); border: 1px solid var(--line-2); }
a.ul { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

.signup { margin-top: 16px; }
.signup h2 { margin: 0 0 12px; font: 600 18px/1.3 var(--sans); }
.sub-form { display: flex; gap: 8px; }
.sub-form input[type=email] { flex: 1; min-width: 0; min-height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--ink); font: 400 14px var(--sans); }
.sub-form input[type=email]::placeholder { color: var(--faint); }
.sub-form input[type=email]:focus { outline: none; border-color: var(--brand); }
.sub-form input:disabled { opacity: .55; }
.sub-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.sub-note[data-state=ok] { color: var(--ok); }
.sub-note[data-state=err] { color: var(--wait); }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.me .signup { margin: 16px 0 4px; }

.nl-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.nl-card-head h3 { margin: 0; font: 600 16px/1.3 var(--sans); }
.nl-card-head .p-tag { margin-top: 4px; }
.row-h a.count:hover { color: var(--ink); text-decoration: none; }
.issues { list-style: none; margin: 0; padding: 0; }
.issue-card a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.issue-card:first-child a { border-top: 0; }
.issue-card a:hover { text-decoration: none; }
.issue-card a:hover .issue-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.issue-no { color: var(--faint); font-size: 13px; padding-top: 2px; }
.issue-body { display: grid; gap: 2px; min-width: 0; }
.issue-meta { color: var(--muted); font-size: 13px; }
.issue-title { font-weight: 600; font-size: 16px; }
.issue-sub { color: var(--muted); font-size: 14px; }
.narrow > .issues { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }

.site-foot { max-width: 1180px; margin: 0 auto; padding: 32px 24px 48px; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.site-foot p { margin: 0; }
.site-foot .faint, .site-foot .faint a { color: var(--faint); font-size: 13px; }
.page + .site-foot { margin-top: -16px; }
.foot { margin: 20px 4px 0; color: var(--faint); font-size: 13px; }

/* newsletter pages */
.narrow { max-width: 680px; margin: 0 auto; padding: 48px 24px 64px; display: grid; gap: 12px; }
.nl-hero { text-align: center; display: grid; justify-items: center; padding-bottom: 20px; }
.nl-mark { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); margin-bottom: 16px; }
.nl-name { font: 400 26px/1.25 var(--display); margin: 0 0 10px; }
.nl-tag { margin: 0; color: var(--muted); max-width: 480px; font-size: 16px; }
.nl-hero .signup { width: 100%; max-width: 440px; }
.nl-hero.msg { padding-top: 40px; gap: 16px; }
.issue-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.issue-kicker { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.issue-head h1 { font: 700 32px/1.2 var(--sans); margin: 0 0 10px; letter-spacing: -0.01em; }
.deck { margin: 0 0 20px; color: var(--muted); font-size: 18px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; flex-wrap: wrap; }
.byline img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.share { margin-left: auto; display: flex; gap: 8px; }
.share a { font-size: 13px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 10px; }
.share a:hover { color: var(--ink); text-decoration: none; }
.prose { font-size: 17px; line-height: 1.7; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure { margin: 0 0 18px; }
.prose h2 { font: 600 22px/1.3 var(--sans); margin: 32px 0 12px; }
.prose h3 { font: 600 18px/1.3 var(--sans); margin: 24px 0 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose img { border-radius: 10px; border: 1px solid var(--line); }
.prose blockquote { border-left: 2px solid var(--line-2); padding-left: 16px; color: var(--muted); }
.prose code { font: 500 14px var(--mono); background: var(--raised); padding: 1px 5px; border-radius: 4px; }
.end-signup { margin-top: 16px; }
.end-signup .signup { margin-top: 0; }

/* GitHub squares, GitHub's own five levels in our greys and the brand orange */
.gh-scroll { overflow-x: auto; scrollbar-width: thin; }
.gh-grid { max-width: none; }
.gh-grid .gh-m { font: 400 10px var(--sans); fill: var(--faint); }
.gh-grid .l0, .gh-scale .l0 { fill: var(--raised); background: var(--raised); }
.gh-grid .l1, .gh-scale .l1 { fill: #5a2e17; background: #5a2e17; }
.gh-grid .l2, .gh-scale .l2 { fill: #8f4219; background: #8f4219; }
.gh-grid .l3, .gh-scale .l3 { fill: #c8561a; background: #c8561a; }
.gh-grid .l4, .gh-scale .l4 { fill: var(--brand); background: var(--brand); }
.gh-legend { justify-content: space-between; }
.gh-scale { display: inline-flex; align-items: center; gap: 3px; }
.gh-scale i { width: 10px; height: 10px; border-radius: 2px; }

@media (max-width: 980px) {
  .top { padding: 14px 16px 0; }
  .site-foot { padding: 28px 16px 40px; }
}
@media (max-width: 560px) {
  .top-nav { display: none; }
  .top .btn { margin-left: auto; }
  .nl-card-head { flex-direction: column; }
  .narrow { padding: 32px 16px 48px; }
  .issue-head h1 { font-size: 26px; }
  .share { margin-left: 0; }
  .prose { font-size: 16px; }
}

/* Launch Notes issues are drawn as a Build sheet: paper with a 5 mm grid on the dark page (30 Nov 2026).
   The sheet's own styles are inline (server/newsletter.mjs) so the email looks the same. */
.sheet { background-color: #f2f2ee; color: #16181b; border-radius: 4px; padding: 32px 36px 36px;
  background-image: linear-gradient(#dfe2e4 1px, transparent 1px), linear-gradient(90deg, #dfe2e4 1px, transparent 1px);
  background-size: 20px 20px; background-position: -1px -1px; }
.sheet img { max-width: 100%; }
.issue-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; }
.issue-tools .share { margin-left: 0; }
@media (max-width: 560px) {
  .narrow:has(.sheet) { padding-left: 8px; padding-right: 8px; }
  .sheet { padding: 20px 16px 24px; }
  .sheet h1 { font-size: 26px !important; }
}

/* 2 Dec 2026, owner: "make it like https://marclou.com/", "make it look exactly like his ... but better" and
   "i dont lik the orange! make it like white and black". So: his neutral dark greys (page #0a0a0a, panels #171717,
   a 1px white ring at 8% instead of borders), Geist and Geist Mono, light-grey buttons, no orange anywhere.
   Live and snapshot are told apart by a filled or hollow dot, not by colour. Overrides the rules above. */
:root {
  --bg: #0a0a0a; --surface: #171717; --raised: #262626; --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.15);
  --ink: #fafafa; --muted: #a1a1a1; --faint: #737373;
  --brand: #e5e5e5; --ok: #fafafa; --wait: #a1a1a1;
  --ring: 0 0 0 1px rgba(255,255,255,.08); --ring-hover: 0 0 0 1px rgba(255,255,255,.13);
  --display: "Geist", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;
}
body { font-size: 15px; -webkit-font-smoothing: antialiased; }
b { font-weight: 600; }
:focus-visible { outline-color: var(--muted); }

/* layout: a wider profile column, like his */
.top { max-width: 1280px; padding-left: 20px; padding-right: 20px; }
.page { max-width: 1280px; padding: 40px 20px 64px; grid-template-columns: 21rem minmax(0, 1fr); gap: 64px; }
.me { top: 56px; }
.dots { display: none; }

/* profile */
.avatar { width: 128px; height: 128px; border: 0; border-radius: 50%; margin-bottom: 24px; }
.top-me img { border: 0; }
.me h1 { font: 600 30px/1.15 var(--sans); letter-spacing: -0.025em; margin-bottom: 12px; }
.bio { font-size: 15px; color: var(--muted); max-width: 24rem; }
.bio b { color: var(--ink); }
.me .signup { margin: 20px 0 8px; }
.sub-form { gap: 6px; padding: 6px; border-radius: 12px; background: var(--bg); box-shadow: var(--ring); }
.sub-form:focus-within { box-shadow: var(--ring-hover); }
.sub-form input[type=email] { border: 0; background: transparent; min-height: 36px; }
.sub-form input[type=email]:focus { border: 0; }
.btn { background: var(--brand); color: #171717; border-radius: 8px; font-weight: 500; min-height: 36px; }
.btn:hover { filter: none; background: #fafafa; }
.follow { gap: 0; margin-top: 16px; }
.follow a, .follow .soon { height: 32px; padding: 0 10px; margin-left: -2px; border-radius: 999px; font-size: 13px; }
.follow a:hover { background: var(--raised); }
.now { border-top: 0; padding-top: 0; font-size: 14px; }

/* panels */
.card { background: var(--surface); border: 0; border-radius: 16px; padding: 20px; box-shadow: var(--ring); transition: box-shadow .15s ease; }
.card.product:hover { box-shadow: var(--ring-hover); }
.feed { gap: 12px; }
.row-h { margin: 28px 2px 0; font: 600 14px/1.3 var(--sans); }
.row-h .count { font: 400 13px var(--sans); color: var(--muted); }
.row-h a.count:hover { color: var(--ink); }
.pill { background: transparent; border: 0; box-shadow: var(--ring); border-radius: 999px; padding: 3px 12px; }
.status, .status[data-state="live"], .status[data-state="snapshot"] { color: var(--muted); }
.status[data-state="live"] .dot { background: var(--ink); }
.status[data-state="snapshot"] .dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.foot { color: var(--faint); }

/* revenue */
.rev .card-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.rev .card-head .unit { font-size: 14px; }
.chart { height: 200px; }
.chart .grid { stroke: rgba(255,255,255,.06); }
.chart .bar { fill: var(--ink); }
.chart g:hover .bar { fill: #d4d4d4; }
.kpis { border-top-color: var(--line); }
.kpis[hidden] { display: none; }
.tip { background: var(--surface); border: 0; box-shadow: var(--ring-hover); border-radius: 999px; padding: 4px 12px; }
.tip .num { display: inline; margin-right: 6px; }

/* products: even panels, round badges */
.product { min-height: 150px; }
.product .p-ico { width: 28px; height: 28px; border-radius: 6px; }
.product .p-name { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.product .p-tag { font-size: 14px; }
.product.lead { min-height: 0; }
.p-badge, .p-badge.ok, .p-badge.snap, .p-badge.wait, .p-badge.none { border: 0; border-radius: 999px; background: var(--raised); color: var(--ink); padding: 2px 9px; font-size: 12px; font-weight: 500; }
.p-badge.none, .p-badge.wait { color: var(--muted); font-size: 11px; }
.p-site { font: 400 12px var(--mono); color: var(--faint); }
.spark path.line { stroke: var(--ink); }
.spark path.fill { opacity: .06; }

/* Solace */
.p-ico.novtar { background: var(--raised); }
.stage { background: var(--bg); border: 0; box-shadow: var(--ring); border-radius: 12px; }
.facts { background: var(--line); border: 0; box-shadow: var(--ring); border-radius: 10px; }
.facts > div { background: var(--surface); }
.ticks li::before { border-color: var(--ink); }
.steps li::before { border-color: var(--line-2); }

/* GitHub squares in white at five strengths, like his */
.gh-grid rect { rx: 2px; }
.gh-grid .l0, .gh-scale .l0 { fill: rgba(255,255,255,.07); background: rgba(255,255,255,.07); }
.gh-grid .l1, .gh-scale .l1 { fill: rgba(255,255,255,.25); background: rgba(255,255,255,.25); }
.gh-grid .l2, .gh-scale .l2 { fill: rgba(255,255,255,.45); background: rgba(255,255,255,.45); }
.gh-grid .l3, .gh-scale .l3 { fill: rgba(255,255,255,.7); background: rgba(255,255,255,.7); }
.gh-grid .l4, .gh-scale .l4 { fill: #fafafa; background: #fafafa; }

/* newsletter and build log side by side, like his Newsletter and Tweets */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.duo-col { display: grid; gap: 12px; min-width: 0; }
.duo .nl-card-head { flex-direction: column; gap: 12px; }
.nl-card-head h3 { font-weight: 600; }
.issue-card a { grid-template-columns: 28px minmax(0, 1fr); border-top-color: var(--line); }
.issue-title { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.issue-no { color: var(--faint); }
.log li { border-top-color: var(--line); }
.duo .log li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "time tag" "text text"; gap: 2px 12px; }
.duo .log time { grid-area: time; font: 400 12px var(--mono); color: var(--faint); }
.duo .log .tag { grid-area: tag; }
.duo .log p { grid-area: text; }

/* footer, newsletter pages */
.site-foot { max-width: 1280px; padding-left: 20px; padding-right: 20px; border-top-color: var(--line); }
.nl-mark { border: 0; }
.narrow > .issues { border: 0; box-shadow: var(--ring); border-radius: 16px; }
.prose a { text-decoration-color: var(--muted); }

@media (max-width: 1100px) {
  .page { grid-template-columns: 17rem minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 980px) {
  .page { grid-template-columns: 1fr; gap: 32px; padding: 28px 16px 48px; }
  .avatar { width: 96px; height: 96px; }
  .me h1 { font-size: 26px; }
}
@media (max-width: 760px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .product { min-height: 0; }
}

/* 3 Dec 2026, owner wants to rank for "tsvtnv": the handle in plain text under the name. */
.me h1 { margin-bottom: 4px; }
.handle { margin: 0 0 14px; font: 400 14px/1.3 var(--mono); color: var(--muted); }
