/*
  Page-owned styles for nix.akshith.io.

  The Geist faces are self-hosted so the site loads no third-party assets. Every
  rule below lives in the page-specific `vbg-custom-*` namespace and reads only
  published Vercel brand tokens.
*/

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/geist-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Identity */

.vbg-custom-identity {
  color: var(--vbg-text-primary);
  font-size: var(--vbg-type-subsection);
  font-weight: var(--vbg-weight-semibold);
  letter-spacing: -0.01em;
  text-decoration: none;
}

.vbg-custom-footer-identity {
  color: var(--vbg-text-primary);
  font-size: var(--vbg-type-body);
  font-weight: var(--vbg-weight-semibold);
}

.vbg-custom-footer-meta {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--vbg-space-4);
}

/* Opening and closing argument */

.vbg-custom-claim,
.vbg-custom-intro,
.vbg-custom-surface {
  min-width: 0;
}

.vbg-custom-claim > *,
.vbg-custom-intro > *,
.vbg-custom-surface > * {
  margin: 0;
}

.vbg-custom-claim,
.vbg-custom-intro,
.vbg-custom-surface {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--vbg-space-3);
}

.vbg-custom-claim {
  gap: var(--vbg-space-5);
}

.vbg-custom-intro {
  gap: var(--vbg-space-4);
}

.vbg-custom-actions {
  margin-top: var(--vbg-space-2);
}

.vbg-custom-release-line {
  margin-top: calc(var(--vbg-space-2) * -1);
}

.vbg-custom-secondary {
  color: var(--vbg-text-primary);
  font-size: var(--vbg-type-body);
  text-decoration: none;
  text-underline-offset: 4px;
  border-bottom: 1px solid var(--vbg-border-strong);
  padding-bottom: 2px;
}

.vbg-custom-secondary:hover {
  border-bottom-color: var(--vbg-text-primary);
}

/* Path from the repository to the model */

.vbg-custom-figure {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--vbg-space-4);
}

.vbg-custom-figure > * {
  margin: 0;
}

.vbg-custom-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.vbg-custom-node {
  position: relative;
  padding: 0 0 var(--vbg-space-5) var(--vbg-space-5);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vbg-custom-node:last-child {
  padding-bottom: 0;
}

/* The rail carries the sequence; a dash marks the step that leaves the Mac. */
.vbg-custom-node::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 10px;
  bottom: 0;
  border-left: 1px solid var(--vbg-border-default);
}

.vbg-custom-node:last-child::before {
  display: none;
}

.vbg-custom-node[data-scope='remote']::before,
.vbg-custom-node[data-scope='local']:has(+ [data-scope='remote'])::before {
  border-left-style: dashed;
}

.vbg-custom-node::after {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  background: var(--vbg-text-primary);
}

.vbg-custom-node[data-scope='remote']::after {
  background: transparent;
  border: 1px solid var(--vbg-text-primary);
}

.vbg-custom-node-name {
  color: var(--vbg-text-primary);
  font-size: var(--vbg-type-compact);
  font-weight: var(--vbg-weight-medium);
  line-height: var(--vbg-leading-compact);
}

.vbg-custom-node[data-scope='remote'] .vbg-custom-node-name {
  font-family: var(--vbg-font-mono);
}

.vbg-custom-node-detail {
  color: var(--vbg-text-secondary);
  font-size: var(--vbg-type-metadata);
  line-height: var(--vbg-leading-caption);
}

/* Peer surfaces */

.vbg-custom-surfaces {
  margin-top: var(--vbg-space-8);
  row-gap: var(--vbg-space-8);
}

.vbg-custom-surface {
  padding-top: var(--vbg-space-3);
  border-top: 1px solid var(--vbg-border-default);
}

/* Evidence */

.vbg-custom-table-caption {
  margin-top: var(--vbg-space-3);
}

/* Closing action */

.vbg-custom-close-action {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--vbg-space-4);
}

.vbg-custom-close-action > * {
  margin: 0;
}

/* Install sequence */

.vbg-custom-steps {
  margin-top: var(--vbg-space-8);
  row-gap: var(--vbg-space-6);
}

.vbg-custom-step {
  min-width: 0;
  padding-top: var(--vbg-space-3);
  border-top: 1px solid var(--vbg-border-default);
  display: flex;
  flex-direction: column;
  gap: var(--vbg-space-2);
}

.vbg-custom-step > * {
  margin: 0;
}

.vbg-custom-step > p:last-child {
  margin-top: var(--vbg-space-2);
  color: var(--vbg-text-secondary);
}

@media (max-width: 760px) {
  .vbg-custom-figure {
    margin-top: var(--vbg-space-4);
  }

  .vbg-custom-footer-meta {
    justify-content: flex-start;
  }

  .vbg-custom-surfaces {
    margin-top: var(--vbg-space-6);
    row-gap: var(--vbg-space-6);
  }

  .vbg-custom-steps {
    margin-top: var(--vbg-space-6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vbg-custom-secondary {
    transition: none;
  }
}
