/* outfra.ai — shared page shell */

h1,
h2,
h3,
.display {
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

.prose {
  font-family: var(--font-ui);
  color: rgb(var(--ink-dim));
  max-width: 56ch;
}

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

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgb(var(--canvas) / 0.78);
  border-bottom: 1px solid rgb(var(--hairline));
}

.nav .wrap {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 60px;
}

.brand {
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: var(--fs-md);
}

.brand .dot {
  color: rgb(var(--cyan));
}

.nav-links {
  display: flex;
  gap: var(--space-5);
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(var(--ink-mute));
}

.nav-links a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: rgb(var(--cyan));
  border-color: rgb(var(--cyan) / 0.5);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: rgb(var(--green));
}

.status .led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--green));
  box-shadow: 0 0 8px rgb(var(--green));
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: rgb(var(--cyan));
}

.card {
  position: relative;
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--hairline));
  border-radius: var(--radius);
}

.card.ticks::before,
.card.ticks::after,
.card.ticks>.tick-bl,
.card.ticks>.tick-br {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: rgb(var(--cyan) / 0.6);
  pointer-events: none;
}

.card.ticks::before {
  top: 7px;
  left: 7px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.card.ticks::after {
  top: 7px;
  right: 7px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.card.ticks>.tick-bl {
  bottom: 7px;
  left: 7px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.card.ticks>.tick-br {
  bottom: 7px;
  right: 7px;
  border-bottom: 1px solid;
  border-right: 1px solid;
}

.trace {
  display: flex;
  align-items: center;
  gap: 0;
  margin: var(--space-10) 0;
  color: rgb(var(--cyan) / 0.45);
}

.trace.tight {
  margin: var(--space-5) 0;
}

.trace .line {
  height: 1px;
  background: currentColor;
  flex: 1;
}

.trace .via {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.trace .seg {
  width: 14px;
  height: 14px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-7px);
}

.trace .label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: rgb(var(--ink-mute));
  padding: 0 var(--space-3);
  white-space: nowrap;
  letter-spacing: 0.08em;
}

.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: rgb(var(--canvas));
  background: rgb(var(--amber));
  padding: 13px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform var(--dur-fast), box-shadow var(--dur-base);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgb(var(--amber) / 0.35);
}

.btn.ghost {
  background: transparent;
  color: rgb(var(--ink));
  border: 1px solid rgb(var(--hairline));
}

.btn.ghost:hover {
  border-color: rgb(var(--cyan) / 0.5);
  box-shadow: none;
}

footer {
  border-top: 1px solid rgb(var(--hairline));
  padding: var(--space-6) 0;
  margin-top: var(--space-8);
  color: rgb(var(--ink-mute));
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

footer a {
  color: rgb(var(--ink-mute));
  transition: color var(--dur-fast) var(--ease);
}

footer a:hover,
footer a:focus-visible {
  color: rgb(var(--cyan));
}

footer .links {
  display: flex;
  flex-wrap: wrap;
}

footer .links a {
  margin-left: var(--space-4);
}

footer .links a:first-child {
  margin-left: 0;
}

footer .links a:first-child {
  margin-left: 0;
}

.avatar {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: var(--radius);
  background: rgb(var(--elevated));
  border: 1px solid rgb(var(--hairline));
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.avatar.avatar-lg {
  width: 80px;
  height: 80px;
}

.avatar .avatar-default {
  width: 55%;
  height: 55%;
  color: rgb(var(--ink-mute));
}

.avatar .avatar-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar.has-photo .avatar-default {
  display: none;
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }
}