@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600&display=swap');

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'JetBrains Mono', monospace;
  background-color: #f5f5f0;
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
}

a:hover {
  opacity: 0.6;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Banner */
.banner {
  font-size: 0.7rem;
  color: #888;
  padding: 12px 24px;
  text-align: center;
  border-bottom: 1px solid #e0e0dc;
  letter-spacing: 0.02em;
}

/* Header / Nav */
.site-header {
  padding: 40px 0 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  border-bottom: none;
}

.logo:hover {
  opacity: 0.6;
}

.back-link {
  font-size: 0.8rem;
  color: #888;
  border-bottom-color: #888;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero .tagline {
  font-size: 1rem;
  font-weight: 300;
  color: #555;
  max-width: 480px;
}

/* Section */
.section {
  padding: 40px 0;
}

.section h2 {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 20px;
}

/* Handles Directory */
.handles-list {
  list-style: none;
}

.handles-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0dc;
}

.handles-list li:first-child {
  border-top: 1px solid #e0e0dc;
}

.handles-list .handle-name {
  font-weight: 500;
  font-size: 0.95rem;
}

.handles-list .handle-meta {
  font-size: 0.75rem;
  color: #888;
}

/* Dashboard */
.dashboard {
  padding: 60px 0 40px;
}

.dashboard h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.dashboard .bio {
  font-size: 0.85rem;
  font-weight: 300;
  color: #555;
  margin-bottom: 32px;
  max-width: 480px;
}

.dashboard .user-name {
  font-size: 0.8rem;
  color: #888;
  font-weight: 400;
  margin-bottom: 24px;
}

/* Social Links List */
.social-links {
  list-style: none;
}

.social-links li {
  border-bottom: 1px solid #e0e0dc;
}

.social-links li:first-child {
  border-top: 1px solid #e0e0dc;
}

.social-links a {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: none;
  gap: 14px;
  transition: opacity 0.15s;
}

.social-links a:hover {
  opacity: 0.6;
}

.social-links .icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.social-links .link-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.social-links .social-name {
  font-size: 0.9rem;
  font-weight: 400;
}

.social-links .short-path {
  font-size: 0.75rem;
  color: #888;
}

.social-links .arrow {
  font-size: 0.8rem;
  color: #888;
  margin-left: 12px;
}

/* FAQ */
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid #e0e0dc;
}

.faq-item:first-child {
  border-top: 1px solid #e0e0dc;
}

.faq-item h3 {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 0.8rem;
  font-weight: 300;
  color: #555;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 40px 0;
  font-size: 0.7rem;
  color: #aaa;
}

.site-footer a {
  color: #aaa;
  border-bottom-color: #ccc;
}

/* Redirect page */
.redirect-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-size: 0.85rem;
  color: #888;
}

/* 404 */
.not-found {
  padding: 120px 0;
  text-align: center;
}

.not-found h1 {
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.not-found p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .dashboard h1 {
    font-size: 1.5rem;
  }

  .social-links .link-info {
    flex-direction: column;
    gap: 2px;
  }

  .social-links .short-path {
    font-size: 0.7rem;
  }
}
