.mono {
  font-family:
    ui-monospace,
    "SFMono-Regular",
    Menlo,
    Consolas,
    monospace;
  letter-spacing: 0.02em;
}
h3,
.text-h3 {
  font-weight: 500;
  letter-spacing: -0.01em;
}
.sig-index,
p[class~="tracking-[0.12em]"] {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font:
    500 0.75rem/1.2 ui-monospace,
    "SFMono-Regular",
    Menlo,
    Consolas,
    monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-muted);
}
.sig-index i,
p[class~="tracking-[0.12em]"]::before {
  content: "";
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--t-accent);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:not(.header-cta) {
    transition: translate 0.2s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.2s;
  }
  .btn:hover {
    translate: 0 -2px;
    box-shadow: 0 10px 22px -12px rgb(22 21 28 / 0.5);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .site-header .header-cta {
    transition:
      max-width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
      padding 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
      clip-path 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 0.3s ease-out,
      visibility 0s linear 0.5s,
      translate 0.2s cubic-bezier(0.2, 0.7, 0.2, 1),
      box-shadow 0.2s;
  }
  .site-header.is-carrying .header-cta {
    transition-delay: 0s;
    animation: cta-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
}
@keyframes cta-in {
  0% {
    color: transparent;
    text-shadow: 0 0 8px rgb(255 255 255 / 0.8);
    scale: 0.94;
  }
  45% {
    color: transparent;
    text-shadow: 0 0 8px rgb(255 255 255 / 0.8);
  }
  100% {
    scale: 1;
  }
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--t-accent);
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
}
.is-scrolled .site-header {
  --header-h: 3.75rem;
  background: rgb(255 255 255 / 0.84);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 12px 32px -22px rgb(22 21 28 / 0.45);
}
.is-scrolled .site-header > div {
  height: 3.75rem;
}
.site-header .brand svg rect {
  transform-box: fill-box;
  transform-origin: center;
}
.is-scrolled .site-header .brand svg rect {
  transform: rotate(45deg) scale(0.82);
}
@media (prefers-reduced-motion: no-preference) {
  .site-header {
    transition:
      background-color 0.35s,
      box-shadow 0.35s,
      backdrop-filter 0.35s;
  }
  .site-header > div {
    transition: height 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .site-header .brand svg rect {
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1.3);
  }
}
.hero-h1 {
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.dc-win {
  color: var(--t-accent);
}
.dc-ghost {
  opacity: 0.16;
}
.anim:not(.hero-in) .hero-h1 [data-line]:not(:has(.dc-win)):not(:has(.dc-ghost)) {
  opacity: 0.16;
}
.anim:not(.hero-in) .hero-sub,
.anim:not(.hero-in) .hero-cta {
  opacity: 0;
  translate: 0 14px;
}
.hero-in .hero-sub {
  animation: in-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-in .hero-cta {
  animation: in-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.18s both;
}
.mp-dots {
  fill: none;
  stroke: var(--t-ink);
  stroke-width: 3.4;
  stroke-linecap: round;
  opacity: 0.2;
}
.mp-coast {
  stroke-width: 3.8;
  opacity: 0.6;
}
.mp .mp-edge {
  font:
    600 11px/1 ui-monospace,
    "SFMono-Regular",
    Menlo,
    Consolas,
    monospace;
  letter-spacing: 0.14em;
  fill: var(--t-muted);
  paint-order: stroke;
  stroke: #FFFFFF;
  stroke-width: 6px;
  stroke-linejoin: round;
}
.mp-in {
  fill: none;
  stroke: var(--t-muted);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: 0.55;
}
.mp-trace {
  fill: none;
  stroke: var(--t-accent);
  stroke-width: 2.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.mp-hub {
  fill: #FFFFFF;
  stroke: var(--t-accent);
  stroke-width: 2.5;
}
.mp-card rect {
  fill: #FFFFFF;
  stroke: var(--t-accent);
  stroke-width: 1.5;
}
.mp .mp-card-t {
  font:
    700 11.5px/1 ui-monospace,
    "SFMono-Regular",
    Menlo,
    Consolas,
    monospace;
  letter-spacing: 0.1em;
  fill: var(--t-accent);
}
.mp .mp-card-s {
  font:
    500 10.5px/1 ui-monospace,
    "SFMono-Regular",
    Menlo,
    Consolas,
    monospace;
  letter-spacing: 0.04em;
  fill: var(--t-muted);
}
.mp-end {
  fill: var(--t-accent);
}
.mp-frame {
  fill: none;
  stroke: var(--t-accent);
  stroke-width: 2.5;
}
.mp-hub,
.mp-card,
.mp-lock {
  transform-box: fill-box;
  transform-origin: center;
}
.mp-card {
  transform-origin: bottom left;
}
@media (prefers-reduced-motion: no-preference) {
  .mp-map {
    animation: mp-scan 1.1s cubic-bezier(0.45, 0, 0.3, 1) 0.05s both;
  }
  .mp .mp-edge {
    animation: in-fade 0.6s ease-out 0.5s both;
  }
  .mp-in {
    stroke-dashoffset: 1;
    animation: in-draw 0.9s ease-out calc(0.5s + var(--k) * 0.15s) forwards;
  }
  .mp-trace {
    stroke-dashoffset: 1;
    animation: in-draw 2s cubic-bezier(0.45, 0, 0.3, 1) 0.9s forwards;
  }
  .mp-hub {
    animation: in-pop 0.4s cubic-bezier(0.2, 0.7, 0.2, 1.3) calc(1.45s + var(--k) * 0.6s) both;
  }
  .mp-card {
    animation: mp-card 0.45s cubic-bezier(0.2, 0.7, 0.2, 1.15) calc(1.55s + var(--k) * 0.6s) both;
  }
  .mp-lock {
    animation: mp-lock 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 2.9s both;
  }
}
@keyframes mp-card {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.92);
  }
}
@keyframes mp-scan {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes mp-lock {
  0% {
    opacity: 0;
    transform: scale(2.2);
  }
  60% {
    opacity: 1;
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.sr-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 2px;
  background: var(--t-accent);
  transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sr-title {
  transition: translate 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) {
  .sr-row:hover::before {
    width: 100%;
  }
  .sr-row:hover .sr-title {
    translate: 0.35rem 0;
  }
}
.bc-link {
  position: absolute;
  display: block;
  left: 2.25rem;
  top: 100%;
  width: 2px;
  height: 2.5rem;
  background: var(--t-accent);
  transform-origin: top;
}
.bc-link i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  translate: -50% -50%;
  border: 2px solid var(--t-accent);
  background: var(--t-ground);
}
@media (min-width: 1024px) {
  .bc-link {
    left: 100%;
    top: 50%;
    width: 2rem;
    height: 2px;
    transform-origin: left;
  }
}
.bc-prev-on {
  border-radius: 2px;
  padding: 0 0.15rem;
}
.anim main section:not(.hero):not(.is-in) :is(header, .sr-row, .bc-item, .bc-link, .rp-fact, .rp-doc, .rp-line, details, h2, dl > div) {
  opacity: 0;
}
.anim main section:not(.hero):not(.is-in) .cb-trace path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.is-in header,
.is-in h2:not(header h2) {
  animation: in-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.is-in .sr-row {
  animation: in-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.15s + var(--i) * 0.09s) both;
}
.is-in .rp-fact {
  animation: in-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.3s + var(--i) * 0.08s) both;
}
.is-in .rp-doc {
  animation: in-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}
.is-in .rp-line {
  animation: in-type 0.4s steps(16) calc(0.7s + var(--i) * 0.16s) both;
}
.is-in .rp-hash {
  display: inline-block;
  animation: in-type 0.5s steps(14) 1.8s both;
}
.is-in details {
  animation: in-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}
.is-in details:nth-of-type(2) {
  animation-delay: 0.28s;
}
.is-in details:nth-of-type(3) {
  animation-delay: 0.36s;
}
.is-in details:nth-of-type(4) {
  animation-delay: 0.44s;
}
.is-in .cb-trace path {
  stroke-dasharray: 1;
  animation: in-draw-from 1.4s ease-out 0.2s both;
}
.is-in .bc-item {
  animation: in-block 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) calc(0.2s + var(--i) * 0.55s) both;
}
.is-in .bc-hash {
  display: inline-block;
  animation: in-type 0.45s steps(10) calc(0.45s + var(--i) * 0.55s) both;
}
.is-in .bc-link {
  animation: in-grow-y 0.3s ease-out calc(0.65s + var(--i) * 0.55s) both;
}
.is-in .bc-prev-on {
  animation: in-flash 1.1s ease-out calc(0.2s + var(--i) * 0.55s) both;
}
.is-in dl > div {
  animation: in-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 2.4s both;
}
@media (min-width: 1024px) {
  .is-in .bc-link {
    animation-name: in-grow-x;
  }
}
@keyframes in-fade {
  from {
    opacity: 0;
  }
}
@keyframes in-rise {
  from {
    opacity: 0;
    translate: 0 22px;
  }
}
@keyframes in-pop {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
}
@keyframes in-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes in-draw-from {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes in-block {
  from {
    opacity: 0;
    translate: 0 18px;
    scale: 0.96;
  }
}
@keyframes in-type {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes in-grow-x {
  from {
    opacity: 1;
    scale: 0 1;
  }
  to {
    opacity: 1;
  }
}
@keyframes in-grow-y {
  from {
    opacity: 1;
    scale: 1 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes in-flash {
  0%, 30% {
    background: color-mix(in oklch, var(--t-accent) 18%, transparent);
    color: var(--t-accent);
  }
  100% {
    background: transparent;
  }
}
@media not all and (min-width: 64rem) {
  .m-panel[popover] {
    padding: 0 var(--t-gutter) calc(1.25rem + env(safe-area-inset-bottom));
    border-block-end: 0;
    box-shadow: 0 1.5rem 2rem -1.5rem rgba(22, 21, 28, 0.35);
  }
  .m-panel[popover] > ul > li > a {
    min-height: 3.25rem;
  }
  .m-panel-cta {
    display: grid;
    gap: 0.875rem;
    padding-top: 1rem;
  }
  .m-panel-cta > a.btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .m-panel[popover]::backdrop {
    background:
      linear-gradient(
        to bottom,
        transparent var(--header-h, 4.5rem),
        rgba(22, 21, 28, 0.45) var(--header-h, 4.5rem));
  }
}
@media not all and (min-width: 64rem) {
  .site-header .header-cta,
  .js .site-header.is-carrying .header-cta {
    display: none;
  }
  .js .site-header.is-carrying .brand-name {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
