:root {
  --header-height: 56px;
  --content-width: 1180px;
  --prose-width: 680px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + var(--space-6));
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol, pre {
  margin: 0;
}

img, svg, canvas, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent-soft);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-small);
}

code, kbd, pre, samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

[hidden] {
  display: none !important;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 60;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-contrast);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (max-width: 640px) {
  .container {
    padding-inline: var(--space-4);
  }
}

main {
  flex: 1;
}

.site-header {
  border-bottom-color: transparent;
  background: color-mix(in srgb, var(--background) 72%, transparent);
  transition: border-color 200ms ease;
}

.site-header[data-scrolled] {
  border-bottom-color: var(--border);
}

.site-header-inner {
  max-width: var(--content-width);
  height: var(--header-height);
  padding-inline: var(--space-6);
}

.card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow-small), var(--highlight);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow .icon {
  color: var(--accent-text);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.section-heading h2 {
  font-size: 20px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
}

.section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 14px;
}

.section-heading a:hover {
  color: var(--text);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reveal {
  animation: reveal 700ms var(--ease-out) both;
  animation-delay: calc(var(--order, 0) * 70ms);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(4px);
  }
}

.page-section {
  padding-block: var(--space-12) var(--space-16);
}

.page-section.flush {
  padding-block-start: 0;
}

.hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-16);
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-12);
  align-items: center;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 720px;
  z-index: -1;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-copy {
  display: grid;
  justify-items: start;
  text-align: start;
}

.hero .eyebrow {
  margin-bottom: var(--space-6);
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(38px, 5.2vw, 60px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 55%, transparent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent-text), var(--accent) 60%, color-mix(in srgb, var(--accent) 60%, var(--accent-partner)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  max-width: 600px;
  margin-top: var(--space-6);
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero .actions {
  margin-top: var(--space-5);
}

.hero-scene {
  max-width: 720px;
  margin-top: var(--space-12);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-large), var(--highlight);
}

@media (min-width: 1041px) {
  .hero-scene {
    margin-top: 0;
  }
}

.hero-scene > svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-bar {
  fill: var(--background-subtle);
}

.hero-rule {
  stroke: var(--border);
}

.hero-tab rect {
  fill: transparent;
}

.hero-tab text {
  fill: var(--text-subtle);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: var(--weight-medium);
}

.hero-tab-icon,
.hero-foot-icon {
  color: var(--text-subtle);
}

.hero-tab-active rect {
  fill: var(--surface);
  stroke: var(--border);
}

.hero-tab-active text {
  fill: var(--text);
}

.hero-tab-active .hero-tab-icon {
  color: var(--accent-text);
}

.hero-note,
.hero-file {
  fill: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
}

.hero-status-pill {
  fill: var(--accent-soft);
  stroke: var(--accent-border);
}

.hero-status-text {
  fill: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.hero-step {
  animation: hero-step 12s ease-in-out infinite;
  animation-delay: calc(var(--order) * 4s);
}

@keyframes hero-step {
  0% {
    opacity: 0;
  }
  5%, 31% {
    opacity: 1;
  }
  36%, 100% {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: var(--space-12) 0 var(--space-6);
  }

  .hero-scene {
    display: none;
  }
}

.art-frame {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--background-subtle);
}

.art-frame > svg {
  width: 100%;
  height: 100%;
}

.art-bg {
  fill: var(--background-subtle);
}

.art-dot {
  fill: color-mix(in srgb, var(--text) 12%, transparent);
}

.art-glow-stop {
  stop-color: var(--accent);
  stop-opacity: 0.07;
}

.art-grid {
  fill: none;
  stroke: color-mix(in srgb, var(--text) 5%, transparent);
  stroke-width: 1;
}

.art-faint,
.art-ink,
.art-accent,
.art-marker {
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.art-faint {
  stroke: color-mix(in srgb, var(--text) 20%, transparent);
}

.art-ink {
  stroke: color-mix(in srgb, var(--text) 62%, transparent);
}

.art-accent,
.art-marker {
  stroke: var(--accent);
  stroke-width: 1.6;
}

.art-marker {
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}

.art-accent-solid {
  fill: var(--accent);
}

.art-node {
  fill: var(--background);
  stroke: var(--accent);
  stroke-width: 1.6;
}

.art-bit rect {
  fill: var(--surface);
  stroke: var(--border-strong);
}

.art-bit text {
  fill: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 13px;
}

.art-bit-value text {
  fill: var(--text);
}

.art-bit-key rect {
  fill: var(--accent-soft);
  stroke: var(--accent);
}

.art-bit-key text {
  fill: var(--accent-text);
  font-weight: var(--weight-semibold);
}

.art-label {
  fill: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
}

.art-label-accent {
  fill: var(--accent-text);
}

.art-caption {
  fill: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
}

.art-panel {
  fill: var(--surface);
  stroke: var(--border);
}

.art-command {
  fill: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.art-caret {
  fill: var(--accent);
}

.art-face {
  fill: color-mix(in srgb, var(--text) 7%, var(--surface));
  stroke: none;
}

.art-face-dark {
  fill: color-mix(in srgb, var(--text) 12%, var(--surface));
}

.art-face-light {
  fill: color-mix(in srgb, var(--text) 3%, var(--surface));
}

.art-hole {
  fill: var(--background-subtle);
  stroke: color-mix(in srgb, var(--text) 62%, transparent);
  stroke-width: 1.3;
}

.art-plane {
  fill: color-mix(in srgb, var(--accent) 16%, transparent);
  stroke: color-mix(in srgb, var(--accent) 55%, transparent);
  stroke-width: 1;
}

.art-bar {
  fill: color-mix(in srgb, var(--text) 38%, transparent);
}

.art-playhead {
  stroke: var(--text);
  stroke-width: 1.4;
}

.art-meter {
  fill: var(--accent);
  transform-box: fill-box;
  transform-origin: left center;
  transform: scaleX(0.72);
}

.art-animated .art-sketch {
  animation: art-fade 6s linear infinite;
}

@keyframes art-fade {
  0%, 88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.art-animated .art-draw {
  stroke-dasharray: 1;
  animation: art-draw 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes art-draw {
  0% {
    stroke-dashoffset: 1;
  }
  45%, 100% {
    stroke-dashoffset: 0;
  }
}

.art-orbit {
  transform-origin: 196px 156px;
}

.art-animated .art-orbit {
  animation: art-orbit 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes art-orbit {
  0% {
    transform: rotate(0deg);
  }
  45%, 100% {
    transform: rotate(360deg);
  }
}

.art-cursor {
  transform-box: fill-box;
  transform-origin: center;
}

.art-animated .art-cursor {
  animation: art-counter 6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes art-counter {
  0% {
    transform: rotate(0deg);
  }
  45%, 100% {
    transform: rotate(-360deg);
  }
}

.art-animated .art-slice {
  animation: art-slice 6s ease-in-out infinite;
}

@keyframes art-slice {
  0%, 100% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(-46px);
  }
}

.art-animated .art-playhead {
  animation: art-play 4s linear infinite;
}

@keyframes art-play {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  8%, 90% {
    opacity: 1;
  }
  100% {
    transform: translateX(408px);
    opacity: 0;
  }
}


[data-paused] *,
[data-paused] {
  animation-play-state: paused !important;
}

.tool-list {
  display: grid;
  gap: var(--space-6);
}

.tool-card {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-6);
  border-radius: var(--radius-extra-large);
  overflow: hidden;
}

.tool-card:nth-child(even) {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}

.tool-card:nth-child(even) .tool-card-art {
  order: 2;
}

.tool-card-art {
  display: block;
}

.tool-card-art .art-frame {
  aspect-ratio: 16 / 10;
  transition: border-color 200ms ease;
}

.tool-card:hover .tool-card-art .art-frame {
  border-color: var(--border-strong);
}

.tool-card-body {
  display: grid;
  gap: var(--space-4);
  align-content: start;
  padding: var(--space-2) var(--space-2) var(--space-2) 0;
}

.tool-card h3 {
  font-size: 30px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.tool-card h3 a:hover {
  color: var(--accent-text);
}

.tool-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

.checks {
  display: grid;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
  font-size: 14.5px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.checks .icon {
  margin-top: 4px;
  color: var(--accent-text);
}

.tool-card-formats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}

.formats {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.formats > span:first-child {
  color: var(--text-subtle);
  font-size: 12.5px;
}

@media (max-width: 900px) {
  .tool-card,
  .tool-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding: var(--space-4);
  }

  .tool-card:nth-child(even) .tool-card-art {
    order: 0;
  }

  .tool-card-body {
    padding: 0 var(--space-2) var(--space-2);
  }
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.highlight {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
}

.highlight h3 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.highlight p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  color: var(--accent-text);
  font-size: 13.5px;
  font-weight: var(--weight-medium);
}

.promise-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
}

@media (max-width: 900px) {
  .highlights {
    grid-template-columns: minmax(0, 1fr);
  }
}

.promises {
  padding-bottom: var(--space-8);
}

.closing-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-10);
  background: radial-gradient(600px 240px at 0% 0%, var(--accent-soft), transparent 70%), var(--surface);
}

.closing-card h2 {
  max-width: 640px;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.closing-card p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-3);
  color: var(--text-muted);
}

.ways-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-10);
  padding: var(--space-10);
  border-radius: var(--radius-extra-large);
  overflow: hidden;
}

.ways-grid::before {
  content: "";
  position: absolute;
  inset: -40% 40% auto -20%;
  height: 420px;
  background: radial-gradient(closest-side, var(--glow), transparent 72%);
  pointer-events: none;
}

.ways-intro {
  position: relative;
  display: grid;
  gap: var(--space-4);
  align-content: start;
}

.ways-intro h2 {
  font-size: 26px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.ways-intro p {
  max-width: 60ch;
  color: var(--text-muted);
  text-wrap: pretty;
}

.ways-list {
  position: relative;
  display: grid;
  gap: var(--space-5);
  padding: 0;
  list-style: none;
}

.ways-list li {
  display: flex;
  gap: var(--space-4);
}

.ways-list strong {
  font-weight: var(--weight-semibold);
}

.ways-list p {
  color: var(--text-muted);
  font-size: 14.5px;
}

@media (max-width: 860px) {
  .ways-grid {
    grid-template-columns: 1fr;
    padding: var(--space-6);
  }
}

.post-list {
  display: grid;
  border-top: 1px solid var(--border);
}

.post-row {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 236px;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-6) var(--space-4);
  margin-inline: calc(var(--space-4) * -1);
  border-bottom: 1px solid var(--border);
  transition: background-color 150ms ease;
}

.post-row:hover {
  background: var(--background-subtle);
}

.post-row time {
  padding-top: 3px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 12.5px;
  white-space: nowrap;
}

.post-row :is(h2, h3) {
  font-size: 17px;
  font-weight: var(--weight-semibold);
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.post-row p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  text-wrap: pretty;
}

.post-row .tags {
  margin-top: var(--space-3);
}

.post-row :is(h2, h3) a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-thumbnail .art-frame {
  aspect-ratio: 16 / 10;
  transition: border-color 200ms ease;
}

.post-row:hover .post-thumbnail .art-frame {
  border-color: var(--border-strong);
}

@media (max-width: 760px) {
  .post-row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }

  .post-thumbnail {
    order: -1;
  }

  .post-thumbnail .art-frame {
    aspect-ratio: 16 / 7;
  }
}

.page-header {
  padding: var(--space-20) 0 var(--space-10);
}

.page-header h1 {
  margin-top: var(--space-4);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.page-header p {
  max-width: 620px;
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: 17px;
}

.page-tags {
  margin-top: var(--space-6);
}

.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-8);
  color: var(--text-muted);
  font-size: 14px;
}

.back-link:hover {
  color: var(--text);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--prose-width)) 220px;
  justify-content: center;
  gap: var(--space-16);
  padding-bottom: var(--space-20);
}

@media (max-width: 1080px) {
  .article-layout {
    grid-template-columns: minmax(0, var(--prose-width));
  }

  .article-toc {
    display: none;
  }
}

.article-header {
  padding: var(--space-16) 0 var(--space-10);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-10);
}

.article-header .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-8);
  color: var(--text-muted);
  font-size: 14px;
}

.article-header .back:hover {
  color: var(--text);
}

.article-art {
  margin-bottom: var(--space-8);
}

.article-art .art-frame {
  aspect-ratio: 16 / 7;
}

.article-header h1 {
  font-size: clamp(32px, 4.6vw, 44px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.article-header .description {
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-6);
  color: var(--text-subtle);
  font-size: 13.5px;
}

.article-meta .separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.article-toc {
  position: sticky;
  top: calc(var(--header-height) + var(--space-10));
  align-self: start;
  max-height: calc(100dvh - var(--header-height) - var(--space-16));
  overflow: auto;
  padding-top: calc(var(--space-16) + 6px);
  font-size: 13px;
}

.article-toc p {
  margin-bottom: var(--space-3);
  color: var(--text);
  font-weight: var(--weight-semibold);
}

.article-toc ol {
  display: grid;
  gap: 2px;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--border);
}

.article-toc a {
  display: block;
  margin-left: -1px;
  padding: 4px 0 4px 12px;
  border-left: 1px solid transparent;
  color: var(--text-subtle);
  line-height: 1.6;
  transition: color 150ms ease, border-color 150ms ease;
}

.article-toc a[data-depth="3"] {
  padding-left: 24px;
}

.article-toc a:hover {
  color: var(--text);
}

.article-toc a[aria-current="true"] {
  color: var(--text);
  border-left-color: var(--accent);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-partner));
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}

.prose {
  font-size: 17px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--text) 88%, var(--text-muted));
}

.prose > * + * {
  margin-top: 1.25em;
}

.privacy {
  max-width: var(--prose-width);
  padding-bottom: var(--space-20);
}

.prose .lead {
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.prose h2 {
  margin-top: 2.4em;
  color: var(--text);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.prose h3 {
  margin-top: 2em;
  color: var(--text);
  font-size: 18px;
  font-weight: var(--weight-semibold);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.75em;
}

.prose .anchor {
  margin-left: 8px;
  color: var(--text-subtle);
  opacity: 0;
  transition: opacity 150ms ease;
}

.prose h2:hover .anchor,
.prose h3:hover .anchor,
.prose .anchor:focus-visible {
  opacity: 1;
}

.prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent-border);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms ease;
}

.prose a:hover {
  text-decoration-color: var(--accent);
}

.prose .anchor {
  text-decoration: none;
}

.prose strong {
  color: var(--text);
  font-weight: var(--weight-semibold);
}

.prose ul,
.prose ol {
  padding-left: 1.4em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose li::marker {
  color: var(--text-subtle);
}

.prose :not(pre) > code {
  padding: 0.12em 0.4em;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface-raised);
  color: var(--text);
  font-size: 0.84em;
  white-space: nowrap;
}

.prose blockquote {
  padding-left: var(--space-5);
  border-left: 2px solid var(--accent);
  color: var(--text-muted);
  font-style: italic;
}

.note {
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-large);
  background: var(--accent-soft);
  font-size: 15px;
  line-height: 1.6;
}

.note-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  color: var(--text);
  font-weight: var(--weight-semibold);
}

.note-title .icon {
  color: var(--accent-text);
}

.note p {
  max-width: 64ch;
}

.note > * + * {
  margin-top: 0.75em;
}

.code-block {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--code-background);
}

.code-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 38px;
  padding: 0 6px 0 var(--space-4);
  border-bottom: 1px solid var(--border);
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
}

.code-bar .code-title {
  overflow: hidden;
  color: var(--text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-bar .button {
  margin-left: auto;
}

.code-block pre {
  overflow-x: auto;
  padding: var(--space-4) var(--space-5);
  color: var(--code-text);
  font-size: 13px;
  line-height: 1.7;
  tab-size: 4;
}

.code-block pre code {
  font-size: inherit;
}

.code-block pre:focus-visible,
.table-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.token-keyword { color: var(--code-keyword); }
.token-string { color: var(--code-string); }
.token-number { color: var(--code-number); }
.token-comment { color: var(--code-comment); font-style: italic; }
.token-function { color: var(--code-function); }
.token-type { color: var(--code-type); }

.prose figcaption {
  max-width: 64ch;
  margin-inline: auto;
  margin-top: var(--space-3);
  color: var(--text-subtle);
  font-size: 13.5px;
  line-height: 1.6;
  text-align: center;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.prose th {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--background-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: var(--weight-medium);
  text-align: left;
  white-space: nowrap;
}

.prose td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.prose tr:last-child td {
  border-bottom: 0;
}

.prose tbody tr:hover td {
  background: var(--background-subtle);
}

.prose td[data-numeric] {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12.5px;
}

@media (max-width: 640px) {
  .prose {
    hyphens: auto;
  }

  .prose code {
    hyphens: manual;
  }

  .prose table,
  .prose tbody,
  .prose tr,
  .prose td {
    display: block;
  }

  .prose thead {
    display: none;
  }

  .prose tr {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border);
  }

  .prose tr:last-child {
    border-bottom: 0;
  }

  .prose td {
    padding: 0;
    border-bottom: 0;
    text-align: left;
  }

  .prose td + td {
    margin-top: var(--space-1);
  }

  .prose td[data-label] {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: var(--space-3);
  }

  .prose td[data-label]::before {
    content: attr(data-label);
    color: var(--text-subtle);
    font-family: var(--font-sans);
    font-size: 12px;
  }

  .prose td:first-child {
    display: block;
    color: var(--text);
    font-weight: var(--weight-semibold);
  }

  .prose td:first-child::before {
    content: none;
  }
}

.article-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid var(--border);
}

.adjacent {
  display: grid;
  gap: 6px;
  padding: var(--space-5);
  transition: border-color 150ms ease, background-color 150ms ease;
}

.adjacent:hover {
  border-color: var(--border-strong);
  background: var(--surface-raised);
}

.adjacent span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-subtle);
  font-size: 13px;
}

.adjacent strong {
  font-size: 15px;
  font-weight: var(--weight-semibold);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.adjacent.next {
  text-align: right;
}

.adjacent.next span {
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .article-footer {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  margin-top: var(--space-16);
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: 13.5px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  padding-block: var(--space-10) var(--space-6);
}

.footer-brand p {
  max-width: 320px;
  margin-top: var(--space-3);
  color: var(--text-muted);
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: var(--space-2);
}

.site-footer nav p {
  color: var(--text);
  font-weight: var(--weight-semibold);
}

.site-footer nav a:hover {
  color: var(--text);
}

.site-footer .footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5) var(--space-8);
  border-top: 1px solid var(--border);
  font-size: 12.5px;
}

@media (max-width: 640px) {
  .site-footer .container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
  text-align: center;
}

.error-page .code {
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 13px;
}

.error-page h1 {
  margin-top: var(--space-3);
  font-size: 40px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.error-page p {
  margin-top: var(--space-3);
  color: var(--text-muted);
}

.error-page .actions {
  justify-content: center;
  margin-top: var(--space-8);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-step,
  .art-animated *,
  .art-animated {
    animation: none !important;
  }

  * {
    scroll-behavior: auto !important;
    transition-duration: 0ms !important;
  }
}

.breadcrumbs {
  padding-top: var(--space-8);
  color: var(--text-subtle);
  font-size: 13.5px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-1) 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--text);
}

.breadcrumbs .icon {
  margin-inline: 6px;
  color: var(--text-subtle);
}

.breadcrumbs [aria-current="page"] {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumbs + .page-header,
.breadcrumbs + .article-layout .article-header {
  padding-top: var(--space-10);
}

.guide {
  max-width: calc(var(--prose-width) + var(--space-12));
}

.guide-header {
  padding: var(--space-10) 0 var(--space-10);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-10);
}

.guide-header h1 {
  margin-top: var(--space-4);
  font-size: clamp(32px, 4.6vw, 44px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.guide-summary {
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

.guide-header .actions {
  align-items: center;
  margin-top: var(--space-6);
}

.guide-promise {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 14px;
}

.guide-promise .icon {
  color: var(--accent-text);
}

.handoff {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: var(--space-5);
  border-style: dashed;
  border-color: var(--border-strong);
  transition: border-color 150ms ease, background-color 150ms ease;
}

.handoff[hidden] {
  display: none;
}

.handoff[data-over] {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.handoff-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-text);
}

.handoff-text {
  flex: 1 1 220px;
  min-width: 0;
}

.handoff-text p {
  color: var(--text-muted);
  font-size: 14px;
}

.handoff-text .handoff-title {
  color: var(--text);
  font-size: 15px;
  font-weight: var(--weight-semibold);
}

.handoff-pick {
  cursor: pointer;
}

.handoff-pick:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.guide-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-8);
  margin: var(--space-6) 0 0;
}

.guide-facts div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.guide-facts dt {
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-facts dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

@media (max-width: 640px) {
  .guide-facts {
    flex-direction: column;
  }
}

.guide-body {
  padding-bottom: var(--space-10);
}

.prose .faq h3 {
  margin-top: var(--space-8);
}

.related {
  padding: var(--space-10) 0 var(--space-16);
  border-top: 1px solid var(--border);
}

.related h2 {
  margin-bottom: var(--space-5);
  font-size: 20px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: var(--space-3);
}

.guide-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.guide-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  color: var(--text);
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.guide-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.guide-card-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-text);
}

.guide-card-text {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 2px;
}

.guide-card-text strong {
  font-size: 14.5px;
  font-weight: var(--weight-semibold);
}

.guide-card-text span {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.guide-card-arrow {
  flex: none;
  color: var(--text-subtle);
  transition: transform 150ms ease, color 150ms ease;
}

.guide-card:hover .guide-card-arrow {
  color: var(--text);
  transform: translateX(2px);
}

.guide-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
}

.guide-column h3 {
  margin-bottom: var(--space-3);
  font-size: 15px;
  font-weight: var(--weight-semibold);
}

.guide-column h3 a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.guide-column h3 .icon {
  color: var(--accent-text);
}

.guide-column .guide-grid {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 900px) {
  .guide-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

.error-links {
  display: grid;
  gap: var(--space-2);
  max-width: 560px;
  margin: var(--space-10) auto 0;
  text-align: left;
}

.error-links h2 {
  margin-top: var(--space-4);
  font-size: 15px;
  font-weight: var(--weight-semibold);
}

.error-links ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: var(--space-5);
  color: var(--text-muted);
  font-size: 14px;
}

.error-links a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (pointer: coarse) {
  .button,
  .search-trigger,
  .tag {
    min-width: 44px;
    min-height: 44px;
  }

  .site-footer nav {
    gap: 0;
  }

  .site-footer nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
