/*
 * orkio.si blog: the index (blog.html, tr/blog.html) and the posts (tr/blog/*.html), built from pen.dev
 * "orkio.si — Blog" and "orkio.si — Blog · Post". The changelog (changelog.html, tr/changelog.html)
 * shares the header, sheet and closing and has its own block at the end. Every other page but the
 * landing (help, contact, privacy, refund, terms, kvkk, status, 404) takes the nav, phone menu and
 * closing from here and its content from assets/<page>.css. The nav, the phone menu and the closing
 * footer repeat the landing's rules (index.html); a change to one of them belongs in both.
 */
:root {
  --ink: #05060c;
  --white: #f4f4f7;
  --dim: #8d90a6;
  --nav-text: #c9cbd6;
  --glow: #9fb4ff;
  --line-dark: rgba(255, 255, 255, 0.12);
  --paper: #f6f5f2;
  --text: #101114;
  --text-2: #62646e;
  --body: #2e3038;
  --rule: #dedcd5;
  --card-line: #e4e2dc;
  --chip: #eceae4;
  --blue: #4255e6;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: 100px;
  --sheet-pad: 100px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
svg.i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
  border-radius: 6px;
}
.sheet :focus-visible {
  outline-color: var(--blue);
}
.two-tone {
  margin: 0;
  font-weight: 500;
}
.two-tone span {
  display: block;
}
[id] {
  scroll-margin-top: 110px;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- nav (landing) ---------- */
.nav {
  position: fixed;
  z-index: 20;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 12px 12px 24px;
  border-radius: 14px;
  background: rgba(10, 12, 22, 0.85);
  border: 1px solid var(--line-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-a {
  font-size: 15px;
  color: var(--nav-text);
  transition: color 0.15s;
}
.nav-a:hover,
.nav-a[aria-current] {
  color: var(--white);
}
.nav-a[aria-current] {
  font-weight: 500;
}
.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: var(--white);
}
.mark {
  width: 22px;
  height: 22px;
  border: 2px solid var(--white);
  border-radius: 50%;
  position: relative;
  flex: none;
}
.mark::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  left: 50%;
  top: 50%;
  margin: -4px 0 0 -4px;
  transform: translate(2px, -2px);
}
.btn-start {
  padding: 9px 16px;
  border-radius: 9px;
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 4px 4px 4px 20px;
  border-radius: 11px;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 0 30px rgba(159, 180, 255, 0.33);
  transition: box-shadow 0.2s;
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(159, 180, 255, 0.55);
}
.btn-primary .arrow {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--text);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
}

/* ---------- phone menu (landing "Mobile — Menu open") ---------- */
.m-only,
.menu-btn,
.m-menu {
  display: none;
}
.menu-btn {
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}
.m-menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  flex-direction: column;
  padding: 12px 16px 28px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ink);
}
.m-menu::before {
  content: "";
  position: fixed;
  left: -80px;
  bottom: -166px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(110, 134, 255, 0.18), rgba(110, 134, 255, 0));
}
.m-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 8px 0 14px;
  flex: none;
}
.m-top .logo {
  font-size: 26px;
  letter-spacing: -1px;
  gap: 8px;
}
.m-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}
.m-links {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 6px 0;
}
.m-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.9px;
}
.m-links a > span {
  flex: 1;
}
.m-links small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--dim);
}
.m-links .i {
  font-size: 18px;
  color: #5c5f73;
}
.m-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 40px;
}
.btn-primary.wide {
  justify-content: space-between;
  height: 54px;
  padding: 0 6px 0 20px;
  border-radius: 12px;
  font-size: 17px;
}
.btn-primary.wide .arrow {
  width: 42px;
  height: 42px;
  border-radius: 9px;
}
.btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  font-weight: 500;
}
.m-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--dim);
  text-transform: uppercase;
}
.m-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b6e80;
}
.m-status.ok i {
  background: #5bd69a;
}
.m-status.warn i {
  background: #fbbf24;
}
.m-status.bad i {
  background: #f87171;
}
.m-clock:not(:empty)::before {
  content: "· ";
}

/* ---------- dark header: the night photo under a scrim ---------- */
.b-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.b-head-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/img/night.webp") center / cover no-repeat;
}
.b-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(5, 6, 12, 0.94) 0%,
    rgba(5, 6, 12, 0.7) 60%,
    #05060c 100%
  );
}

/* Index header (pen.dev "Header" in "orkio.si — Blog"): title left, subscribe right, bottoms aligned. */
.b-head.index {
  padding: 200px var(--gutter) 158px;
}
.b-title-row {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.b-eyebrow {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--dim);
}
.b-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--dim);
}
.b-head.index h1 {
  font-size: clamp(48px, 5.56vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.0375em;
}
/* background-clip: text paints only inside the box; the extra bottom keeps descenders painted. */
.b-head.index h1 span:first-child {
  background: linear-gradient(90deg, #7e8197, #b9bccb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.subscribe {
  width: 400px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.subscribe > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #a7aabb;
}
.sub-field {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 4px 4px 4px 16px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.15s;
}
.sub-field:focus-within {
  border-color: rgba(159, 180, 255, 0.6);
}
.sub-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 15px;
  outline: none;
}
.sub-field input::placeholder {
  color: #6f7287;
}
.sub-field input[aria-invalid="true"] {
  color: #fca5a5;
}
.sub-field button {
  height: 100%;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.sub-field button:disabled {
  opacity: 0.6;
  cursor: default;
}
.sub-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sub-msg {
  margin: -4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #a7aabb;
}
.sub-msg:empty {
  display: none;
}
.sub-msg.ok {
  color: #5bd69a;
}
.rss {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--dim);
  transition: color 0.15s;
}
.rss:hover {
  color: var(--white);
}
.rss .i {
  font-size: 13px;
}

/* Post header (pen.dev "Header" in "orkio.si — Blog · Post"): breadcrumb, title, byline, centred. */
.b-head.post {
  padding: 176px var(--gutter) 150px;
  text-align: center;
}
.crumb {
  margin: 0 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--dim);
}
.crumb a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.15s;
}
.crumb a:hover {
  color: var(--white);
}
.crumb .i {
  font-size: 14px;
}
.crumb .sep {
  color: #5c5f73;
  letter-spacing: 0;
}
.crumb .cat {
  color: var(--glow);
}
.b-head.post h1 {
  max-width: 920px;
  margin: 0 auto 26px;
  font-size: clamp(36px, 4.45vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.0375em;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}
.byline .who {
  font-size: 15px;
  font-weight: 500;
}
.byline .info {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--dim);
}

/* The author's avatar: the orkio crescent in a circle (the posts are signed by the team). */
.av {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
}
.av svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.av.light {
  width: 32px;
  height: 32px;
  background: var(--white);
  color: var(--text);
}
.av.big {
  width: 56px;
  height: 56px;
}

/* ---------- the paper sheet ---------- */
.sheet-wrap {
  padding: 0 20px;
  background: var(--ink);
}
.sheet {
  padding: 0 var(--sheet-pad) 100px;
  border-radius: 28px;
  background: var(--paper);
  color: var(--text);
}
.sheet-in {
  max-width: 1200px;
  margin: 0 auto;
}
.cat {
  --c: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.cat::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
}
.cat.guides {
  --c: #b45309;
}
.cat.engineering {
  --c: #101114;
}
.cover-img {
  display: block;
  overflow: hidden;
  background: #0b0d18;
}
.cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
a.cover-img:hover img {
  transform: scale(1.02);
}
.t-link {
  transition: color 0.15s;
}
.t-link:hover {
  color: var(--blue);
}

/* Index: filter tabs, the featured post, then one row per post. */
.filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.tabs-b {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tab {
  padding: 8px 14px;
  border-radius: 9px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.tab:hover {
  border-color: #c9c7c0;
  color: var(--text);
}
.tab[aria-pressed="true"] {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
}
.posts-b {
  margin: 0;
  padding: 0;
  list-style: none;
}
.posts-b > li[hidden] {
  display: none;
}
.feat {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 56px 0;
}
.feat-cover {
  position: relative;
  flex: 0 0 700px;
  height: 440px;
  border-radius: 20px;
}
.feat-cover .tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(5, 6, 12, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--white);
}
.feat-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.meta-row time,
.meta-row .date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}
.feat h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -1.6px;
}
.feat-text > p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
}
.feat-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}
.author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.author b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.author small {
  display: block;
  font-size: 12px;
  color: var(--text-2);
}
.read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.read .i {
  font-size: 15px;
  transition: transform 0.15s;
}
.read:hover .i {
  transform: translateX(3px);
}
.row {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}
.posts-b > li.first .row {
  border-top: 0;
}
.row-side {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.row-side time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-2);
}
.row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.row h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.7px;
}
.row-text > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}
.row-text > .by {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-2);
}
.row-thumb {
  flex: 0 0 240px;
  height: 150px;
  border-radius: 14px;
}
.older {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}
.older[hidden] {
  display: none;
}
.older button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 11px;
  border: 1px solid #cfcdc6;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.older .i {
  font-size: 16px;
}
.older button:hover {
  background: rgba(16, 17, 20, 0.04);
}

/* ---------- a post ---------- */
.sheet.post {
  padding-top: 56px;
}
.p-cover {
  height: 560px;
  border-radius: 20px;
}
.p-body {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  margin-top: 64px;
}
.toc {
  position: sticky;
  top: 100px;
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}
.toc h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.6px;
  color: var(--text-2);
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.toc ol a {
  display: block;
  padding-left: 12px;
  border-left: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-2);
  transition: color 0.15s;
}
.toc ol a:hover {
  color: var(--text);
}
.toc ol a.on {
  padding-left: 11px;
  border-left: 2px solid var(--blue);
  color: var(--text);
  font-weight: 500;
}
.share {
  display: flex;
  gap: 8px;
  padding-top: 18px;
}
.share a,
.share button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 9px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--text-2);
  font-size: 15px;
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.share a:hover,
.share button:hover {
  border-color: #c9c7c0;
  color: var(--text);
}
.share button.done {
  border-color: var(--blue);
  color: var(--blue);
}

.article {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.article > p,
.article > ul > li,
.article > ol > li {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}
.article > p.lead {
  font-size: 23px;
  line-height: 1.55;
  letter-spacing: -0.3px;
  color: var(--text);
}
.article > h2 {
  margin: 22px 0 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.9px;
}
.article a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.article strong {
  font-weight: 600;
  color: var(--text);
}
.article :not(pre) > code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--chip);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.84em;
  overflow-wrap: anywhere;
}
/* Lists in the article: the TL;DR's blue dots; numbered steps get the design's dark discs. */
.article > ul,
.tldr ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.article > ul > li,
.tldr li {
  position: relative;
  min-width: 0;
  padding-left: 18px;
}
.article > ul > li::before,
.tldr li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--blue);
}
.article > ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.article > ol > li {
  position: relative;
  min-width: 0;
  min-height: 28px;
  padding-left: 44px;
  line-height: 1.6;
  counter-increment: step;
}
.article > ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.article li > .code {
  margin-top: 12px;
}
.tldr {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--card-line);
  background: #fff;
}
.tldr-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tldr-head b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}
.tldr-head .i {
  font-size: 15px;
  color: var(--blue);
}
.tldr-head span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--text-2);
}
.tldr li {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
}

/* Code: the design's dark block, a file bar with Copy, numbered lines (CSS counters, so they don't copy). */
.code {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0b0d18;
}
.code-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
}
.code-bar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color 0.15s;
}
.code-bar button:hover,
.code-bar button.done {
  color: var(--white);
}
.code-bar .i {
  font-size: 13px;
}
.code pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  counter-reset: ln;
}
.code pre code {
  display: block;
  width: max-content;
  min-width: 100%;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 26px;
  color: var(--white);
  white-space: pre;
}
.code .l {
  display: block;
  min-height: 26px;
}
.code .l::before {
  counter-increment: ln;
  content: counter(ln);
  display: inline-block;
  width: 2ch;
  margin-right: 18px;
  text-align: right;
  font-size: 13px;
  color: #3e4156;
  user-select: none;
}
.code .s {
  color: #5bd69a;
}
.code .c {
  color: #6b6e80;
}
.code .k {
  color: var(--glow);
}
.code .n {
  color: #f5c451;
}
.callout {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #c6ceff;
  background: #eef1ff;
  color: #2b3699;
}
.callout > .i {
  font-size: 18px;
  margin-top: 2px;
  color: var(--blue);
}
.callout b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
}
.callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.article .callout code {
  background: rgba(66, 85, 230, 0.1);
  color: #2b3699;
}
.figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stats {
  display: flex;
  border-radius: 14px;
  border: 1px solid var(--card-line);
  background: #fff;
}
.stat {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
}
.stat + .stat {
  border-left: 1px solid var(--card-line);
}
.stat b {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1.4px;
}
.stat span {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-2);
}
.figure figcaption {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-2);
}
.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--blue);
}
.quote blockquote {
  margin: 0;
}
.quote p {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.8px;
  color: var(--text);
}
.quote cite {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}
.faq-b details {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
.faq-b summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}
.faq-b summary::-webkit-details-marker {
  display: none;
}
.faq-b summary .i {
  font-size: 18px;
  color: var(--text-2);
}
.faq-b .minus,
.faq-b details[open] .plus {
  display: none;
}
.faq-b details[open] .minus {
  display: block;
}
.faq-b details p {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}
.sources {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}
.sources h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.4px;
  color: var(--text-2);
}
.sources ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: src;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sources li {
  counter-increment: src;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-2);
}
.sources li::before {
  content: counter(src) ". ";
}
.sources a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #c9c7c0;
  text-underline-offset: 3px;
}
.sources a:hover {
  color: var(--text);
}
.aside {
  position: sticky;
  top: 100px;
  flex: 0 0 192px;
  padding-top: 8px;
}
.cta-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  background: #101114;
  color: var(--white);
}
.lockup-s {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1;
}
.lockup-s svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.cta-card b {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.cta-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--dim);
}
.cta-card a.go {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 9px;
  background: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

/* After the article: tags and the author card under the article column, then Keep reading. */
.p-end {
  margin-top: 64px;
  padding-left: 264px;
}
.p-end-col {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  padding: 6px 12px;
  border-radius: 16px;
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
}
.author-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--card-line);
  background: #fff;
}
.author-card > div {
  flex: 1;
  min-width: 0;
}
.author-card b {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.author-card p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}
.follow {
  flex: none;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid #cfcdc6;
  font-size: 14px;
  font-weight: 500;
}
.follow:hover {
  background: rgba(16, 17, 20, 0.04);
}
.keep {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.keep-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.keep-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.9px;
}
.cards {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-thumb {
  height: 240px;
  border-radius: 16px;
}
.card .meta-row {
  gap: 10px;
}
.card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

/* ---------- closing: the night, then the footer (landing) ---------- */
.closing {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 88px;
  padding: 120px var(--gutter) 40px;
  background: var(--ink);
}
.closing-glow {
  position: absolute;
  left: 50%;
  top: -260px;
  width: 600px;
  height: 600px;
  margin-left: -300px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(110, 134, 255, 0.15), rgba(110, 134, 255, 0));
}
.closing-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.kicker-blue {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--glow);
}
.closing h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.036em;
}
.closing h2 span:first-child {
  color: var(--dim);
}
.tonight,
.foot,
.foot-bar {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}
.tonight {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tonight-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--dim);
  text-transform: uppercase;
}
.phases {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 48px;
}
.moon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.13);
  flex: none;
}
/* An hour of the night slides the shadow an eighth of the moon (--step): 6px on a 48px moon. */
.moon i {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: #0b0d18;
  transform: translateX(calc(var(--shade, 0) * var(--step, 6px) * -1));
}
.phase b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--dim);
}
.phase small {
  font-family: var(--mono);
  font-size: 10px;
  color: #5c5f73;
  white-space: nowrap;
}
.phase.full .moon {
  box-shadow: 0 0 36px rgba(159, 180, 255, 0.53);
}
.phase.full b {
  color: var(--white);
}
.phase.full small {
  color: var(--glow);
}
.phase.now .moon {
  outline: 1px solid rgba(159, 180, 255, 0.7);
  outline-offset: 4px;
}
.phase.now b {
  color: var(--glow);
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 240px;
}
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.14px;
  line-height: 1;
  color: var(--white);
}
.lockup svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.foot-brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--dim);
}
.foot-cols {
  display: flex;
  gap: 40px;
}
.foot-col {
  width: 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.foot-col h3 {
  margin: 0 0 3px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--white);
  text-transform: uppercase;
}
.foot-col a {
  font-size: 14px;
  color: var(--nav-text);
  transition: color 0.15s;
}
.foot-col a:hover {
  color: var(--white);
}
.foot-mini {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.foot-mini a {
  display: flex;
  align-items: center;
  height: 44px;
  font-size: 15px;
  color: var(--nav-text);
}
.foot-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--dim);
}
.foot-end {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.foot-lang {
  color: var(--nav-text);
}
.foot-lang:hover {
  color: var(--white);
}
.foot-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dim);
}
.foot-status:hover {
  color: var(--white);
}
.foot-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6b6e80;
}
.foot-status.ok i {
  background: #5bd69a;
  box-shadow: 0 0 8px rgba(91, 214, 154, 0.6);
}
.foot-status.warn i {
  background: #fbbf24;
}
.foot-status.bad i {
  background: #f87171;
}

/* ---------- narrower screens ---------- */
@media (max-width: 1300px) {
  :root {
    --sheet-pad: 56px;
  }
  .feat-cover {
    flex-basis: 54%;
    height: auto;
    aspect-ratio: 700 / 440;
  }
  .feat {
    gap: 44px;
  }
  .feat h2 {
    font-size: 38px;
  }
}
/* Below this the aside's card would squeeze the article under ~570px; the closing CTA stays. */
@media (max-width: 1240px) {
  .aside {
    display: none;
  }
}
@media (max-width: 1180px) {
  :root {
    --gutter: 56px;
  }
  .p-cover {
    height: auto;
    aspect-ratio: 1200 / 560;
  }
}
@media (max-width: 900px) {
  :root {
    --gutter: 28px;
    --sheet-pad: 28px;
  }
  .nav {
    grid-template-columns: auto 1fr;
    padding-left: 18px;
  }
  .nav-links,
  .faq-link {
    display: none;
  }
  .b-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }
  .b-head.index {
    padding-bottom: 96px;
  }
  .subscribe {
    width: 100%;
    max-width: 480px;
  }
  .b-head.post {
    padding-bottom: 96px;
  }
  .filter {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .feat {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 40px 0;
  }
  .feat-cover {
    flex-basis: auto;
    width: 100%;
  }
  .row {
    flex-wrap: wrap;
    gap: 14px 28px;
  }
  .row-side {
    flex-basis: 100%;
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
  .row-thumb {
    flex-basis: 200px;
    height: 125px;
  }
  .p-body {
    display: block;
    margin-top: 40px;
  }
  .toc {
    display: none;
  }
  .p-end {
    padding-left: 0;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot {
    flex-direction: column;
    gap: 40px;
  }
  .foot-cols {
    flex-wrap: wrap;
    gap: 28px 40px;
  }
  .phases {
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .phase {
    flex: none;
    min-width: 84px;
  }
  .phases::-webkit-scrollbar {
    display: none;
  }
  .tonight-head {
    flex-direction: column;
    gap: 6px;
  }
}
@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --sheet-pad: 16px;
  }
  .m-only {
    display: block;
  }
  .menu-btn {
    display: grid;
  }
  .foot-mini {
    display: grid;
  }
  .m-menu:not([hidden]) {
    display: flex;
  }
  .menu-open,
  .menu-open body {
    overflow: hidden;
  }
  .foot-cols,
  .fb-more,
  .th-long,
  [data-tonight-note],
  .phase b span {
    display: none;
  }
  .nav {
    top: 12px;
    width: calc(100% - 24px);
    display: flex;
    gap: 6px;
    height: 56px;
    padding: 0 8px 0 14px;
  }
  .nav .logo {
    margin-right: auto;
    font-size: 26px;
    letter-spacing: -1px;
    gap: 8px;
  }
  .nav-right .nav-a {
    display: none;
  }
  .btn-start {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
  }

  .b-head.index {
    padding: 124px 20px 48px;
  }
  .b-eyebrow {
    margin-bottom: 16px;
    font-size: 10.5px;
    letter-spacing: 1.4px;
  }
  .b-head.index h1 {
    font-size: 46px;
    letter-spacing: -1.8px;
    line-height: 1.04;
  }
  .b-title-row {
    gap: 28px;
  }
  .b-head.post {
    padding: 116px 20px 48px;
  }
  .crumb {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: 1.2px;
  }
  .b-head.post h1 {
    margin-bottom: 20px;
    font-size: 34px;
    letter-spacing: -1.2px;
    line-height: 1.08;
  }
  .byline {
    gap: 8px 12px;
  }
  .byline .info {
    flex-basis: 100%;
    font-size: 11px;
  }

  .sheet-wrap {
    padding: 0 6px;
  }
  .sheet {
    padding-bottom: 56px;
    border-radius: 24px;
  }
  .sheet.post {
    padding-top: 16px;
  }
  .filter {
    padding: 20px 4px;
  }
  .tab {
    padding: 7px 12px;
    font-size: 13px;
  }
  .feat {
    gap: 20px;
    padding: 24px 0 32px;
  }
  .feat-cover {
    border-radius: 16px;
  }
  .feat-text {
    gap: 16px;
    padding: 0 4px;
  }
  .feat h2 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .feat-text > p {
    font-size: 16px;
  }
  .row {
    gap: 10px;
    padding: 24px 4px;
  }
  .row-thumb {
    display: none;
  }
  .row h3 {
    font-size: 22px;
    letter-spacing: -0.5px;
  }
  .p-cover {
    border-radius: 16px;
  }
  .p-body {
    margin-top: 28px;
  }
  .article {
    gap: 20px;
    padding: 0 4px;
  }
  .article > p,
  .article > ul > li,
  .article > ol > li {
    font-size: 17px;
  }
  .article > p.lead {
    font-size: 20px;
  }
  .article > h2 {
    margin-top: 16px;
    font-size: 25px;
    letter-spacing: -0.6px;
  }
  .tldr {
    padding: 18px;
  }
  .code {
    margin: 0 -4px;
    border-radius: 12px;
  }
  .code pre {
    padding: 14px 16px;
  }
  .code pre code {
    font-size: 13px;
  }
  .stat {
    padding: 16px 14px;
  }
  .stat b {
    font-size: 26px;
    letter-spacing: -0.8px;
  }
  .stat span {
    font-size: 12px;
  }
  .quote {
    padding-left: 20px;
  }
  .quote p {
    font-size: 23px;
    letter-spacing: -0.5px;
  }
  .p-end {
    margin-top: 40px;
    padding: 0 4px;
  }
  .author-card {
    flex-wrap: wrap;
    padding: 20px;
  }
  .author-card .av.big {
    width: 48px;
    height: 48px;
  }
  .follow {
    flex: 1 0 100%;
    text-align: center;
  }
  .keep {
    margin-top: 40px;
    padding: 32px 4px 0;
  }
  .keep-head h2 {
    font-size: 25px;
  }
  .cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .card-thumb {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .closing {
    gap: 56px;
    padding: 88px 20px 28px;
  }
  .closing h2 {
    font-size: 40px;
    letter-spacing: -1.6px;
    line-height: 1.06;
  }
  .phases {
    --step: 3.5px;
    justify-content: space-between;
    gap: 0;
    padding: 18px 0;
    overflow: visible;
  }
  .phase {
    min-width: 28px;
    gap: 8px;
  }
  .moon {
    width: 28px;
    height: 28px;
  }
  .phase b {
    font-size: 9px;
    letter-spacing: 0;
  }
  .phase:not(.full) small {
    display: none;
  }
  .phase.now .moon {
    outline-offset: 3px;
  }
  .foot {
    gap: 32px;
  }
  .foot-brand {
    min-width: 0;
  }
  .foot-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- changelog (pen.dev "orkio.si — Changelog"): the blog's header and sheet, a release per night ---------- */
.b-head.log {
  padding: 200px var(--gutter) 56px;
}
.giant {
  position: absolute;
  z-index: -1;
  left: calc(50% + 40px);
  top: 250px;
  margin: 0;
  font-size: 360px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -14px;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
  user-select: none;
}
.latest {
  width: 380px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0 0 8px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.latest-head {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--dim);
}
.ver {
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  letter-spacing: 0.6px;
}
.latest b {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
}
.latest a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--nav-text);
  transition: color 0.15s;
}
.latest a:hover {
  color: var(--white);
}
.latest a .i {
  font-size: 15px;
}
.cadence {
  max-width: 1240px;
  margin: 88px auto 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cadence-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--dim);
}
.track {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}
/* The line runs from the first moon's centre to the last one's. */
.track::before {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(100% / (2 * var(--n)));
  right: calc(100% / (2 * var(--n)));
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.track li {
  flex: 1;
  min-width: 0;
}
.track a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.track .m {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  background: #c9cbd6;
  box-shadow: 0 0 0 4px var(--ink);
  transition: transform 0.15s;
}
.track a:hover .m {
  transform: scale(1.12);
}
.track .m i {
  position: absolute;
  top: -3px;
  left: var(--x);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0a0c16;
}
.track .v {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.4px;
  color: #a7aabb;
  white-space: nowrap;
}
.track small {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #6f7287;
}
.track li.now .m {
  background: var(--white);
  box-shadow:
    0 0 0 4px var(--ink),
    0 0 24px rgba(159, 180, 255, 0.67);
}
.track li.now .v {
  color: var(--white);
}
.rels {
  padding-top: 24px;
}
.rel {
  display: flex;
}
.rel[hidden] {
  display: none;
}
.rel-side {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 40px;
}
.rel-ver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text);
}
.rel-ver.now {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}
.rel-ver em {
  font-style: normal;
  font-size: 10px;
  color: var(--glow);
}
.rel-side time {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-2);
}
.rel-side small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: #a3a4ab;
}
.rel-main {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 36px 0 72px 64px;
  border-left: 1px solid var(--rule);
}
.rel-moon {
  position: absolute;
  left: -15px;
  top: 38px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--text);
  box-shadow: 0 0 0 4px var(--paper);
}
.rel-moon i {
  position: absolute;
  top: -3px;
  left: var(--x);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e4e2dc;
}
.rel h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1.1px;
}
.rel-head p {
  max-width: 640px;
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
}
.rel-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(140% 160% at 50% 0%, #232a5c 0%, #05060c 75%);
}
.rel-media img {
  width: 100%;
  height: auto;
}
.changes {
  margin: 0;
  padding: 0;
  list-style: none;
}
.changes li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid #e7e5df;
  font-size: 16px;
  line-height: 1.45;
}
.changes li:first-child,
.changes li.first {
  border-top: 0;
}
.changes li[hidden] {
  display: none;
}
.chg-tag {
  flex: none;
  width: 96px;
  padding: 4px 0;
  border-radius: 6px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.2px;
}
.chg-tag.new {
  background: rgba(47, 91, 255, 0.08);
  color: #2f5bff;
}
.chg-tag.improved {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
}
.chg-tag.fixed {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}
.chg-tag.apps {
  background: rgba(15, 118, 110, 0.08);
  color: #0f766e;
}
.chg-tag.insights {
  background: rgba(190, 24, 93, 0.08);
  color: #be185d;
}
@media (max-width: 1180px) {
  .giant {
    display: none;
  }
}
@media (max-width: 900px) {
  .b-head.log {
    padding-bottom: 48px;
  }
  .latest {
    width: 100%;
    max-width: 480px;
  }
  .cadence {
    margin-top: 56px;
  }
  .rel {
    flex-direction: column;
  }
  .rel + .rel {
    border-top: 1px solid var(--rule);
  }
  .rel-side {
    flex-basis: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding-top: 32px;
  }
  .rel-main {
    gap: 20px;
    padding: 18px 0 40px;
    border-left: 0;
  }
  .rel-moon {
    display: none;
  }
}
@media (max-width: 640px) {
  .b-head.log {
    padding: 124px 20px 40px;
  }
  .latest b {
    font-size: 21px;
  }
  .cad-hint {
    display: none;
  }
  .track .v {
    font-size: 11px;
    letter-spacing: 0;
  }
  .track small {
    font-size: 9px;
    letter-spacing: 0.4px;
  }
  .rels {
    padding: 0 4px;
  }
  .rel h2 {
    font-size: 26px;
    letter-spacing: -0.7px;
  }
  .rel-head p {
    font-size: 16px;
  }
  .rel-media {
    margin: 0 -4px;
    border-radius: 14px;
  }
  .changes li {
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
  }
  .chg-tag {
    width: 84px;
    margin-top: 1px;
  }
}

/* Posts written in markdown (the Hub renders them, hub/src/orkio/blog): subheads, nested lists,
   plain quotes and tables, plus the two categories added with them. */
.cat.basics {
  --c: #0f766e;
}
.cat.compare {
  --c: #7c3aed;
}
.article > h3 {
  margin: 8px 0 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
}
.article li > p {
  margin: 0;
}
.article li > ul,
.article li > ol {
  margin: 8px 0 0;
  padding-left: 20px;
}
.article li li {
  font-size: 17px;
  line-height: 1.6;
}
.article > blockquote {
  margin: 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--rule);
  color: var(--body);
  font-size: 18px;
  line-height: 1.7;
}
.article > blockquote p {
  margin: 0;
}
.article > .table {
  overflow-x: auto;
  border: 1px solid var(--card-line);
  border-radius: 12px;
  background: #fff;
}
.article > .table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  color: var(--body);
}
.article > .table th,
.article > .table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--card-line);
  text-align: left;
  vertical-align: top;
}
.article > .table th {
  font-weight: 600;
  color: var(--text);
  background: var(--chip);
  white-space: nowrap;
}
.article > .table tr:last-child td {
  border-bottom: 0;
}
