* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  background-color: #0e0e0e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  padding: 2.5rem 3rem;
  color: #d6d6d0;
  font-family: "Roboto Mono", monospace;
}

h1 {
  font-family: "Roboto Mono", monospace;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  color: #d6d6d0;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 500;
  color: #d6d6d0;
}

p {
  color: #5a5a54;
  line-height: 1.5;
}

code {
  display: inline-block;
  padding: 0.08rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: #d8d8d2;
  font-family: "Roboto Mono", monospace;
  font-size: 0.9em;
}

pre {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #d8d8d2;
  line-height: 1.55;
  white-space: pre;
}

pre code {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 0.88rem;
  white-space: pre;
  tab-size: 2;
  line-height: 1.55;
}

a {
  color: #d6d6d0;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.blog-button {
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #d6d6d0;
  font-family: "Roboto Mono", monospace;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
  white-space: nowrap;
}

.blog-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.blog-button:active {
  background: rgba(255, 255, 255, 0.08);
}

.product-button {
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #d6d6d0;
  font-family: "Roboto Mono", monospace;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
  white-space: nowrap;
}

.product-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.product-button:active {
  background: rgba(255, 255, 255, 0.08);
}

#product {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 50vw;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

#blog {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 50vw;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.blog-item {
  padding: 0.95rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: slideIn 0.5s ease-out forwards;
  opacity: 0;
  text-decoration: none;
  color: inherit;
  transition: background-color 140ms ease, border-color 140ms ease;
  font-family: "Roboto Mono", monospace;
}

.blog-item a {
  text-decoration: none;
  color: inherit;
}

.blog-item h3 {
  font-size: 1rem;
  color: #d6d6d0;
  margin: 0;
  font-weight: 600;
}

.blog-item .date {
  font-size: 0.72rem;
  color: #7a7a72;
  margin: 0.35rem 0 0;
}

.blog-item .excerpt {
  font-size: 0.78rem;
  color: #5a5a54;
  margin: 0.35rem 0 0;
  line-height: 1.4;
}

.blog-item:hover {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

#info {
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
  color: #5a5a54;
  margin-top: 0.5rem;
}

#info code {
  color: #7a7a72;
}

#repos {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 50vw;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.repo-item {
  padding: 0.95rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: slideIn 0.5s ease-out forwards;
  opacity: 0;
  text-decoration: none;
  color: inherit;
  transition: background-color 140ms ease, border-color 140ms ease;
  font-family: "Roboto Mono", monospace;
}

.repo-item a {
  text-decoration: none;
  color: inherit;
}

.repo-item h3 {
  font-size: 1rem;
  color: #d6d6d0;
  margin: 0;
  font-weight: 600;
}

.repo-item .desc {
  font-size: 0.78rem;
  color: #5a5a54;
  margin: 0.35rem 0 0;
  line-height: 1.4;
}

.repo-item .meta {
  font-size: 0.7rem;
  color: #7a7a72;
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
}

.repo-item:hover {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.error {
  color: #ff6b6b;
  font-size: 0.9rem;
}

.collapsable-button {
  padding: 0.4rem 0;
  background: none;
  border: none;
  color: #7a7a72;
  font-family: "Roboto Mono", monospace;
  font-size: 0.78rem;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 140ms ease;
}

.collapsable-button:hover {
  color: #d6d6d0;
}

.content-shell {
  width: 50vw;
  margin-left: auto;
  margin-right: auto;
}

.lead {
  margin-top: 0.9rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .repo-item,
  .blog-item {
    animation: none;
    opacity: 1;
  }
}

@media (max-width: 900px) {
  #repos,
  #blog,
  .content-shell {
    width: 100%;
  }
}