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

:root {
  --bg: #0F172A;
  --bg-card: #151f35;
  --bg-card-hover: #1a2640;
  --text: #F8FAFC;
  --text-muted: #b8c8d8;
  --text-dim: #7a90a8;
  --accent: #38bdf8;
  --accent-dim: rgba(56, 189, 248, 0.12);
  --border: rgba(248, 250, 252, 0.07);
  --border-hover: rgba(248, 250, 252, 0.14);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.container,
.wrap {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.container {
  padding: 0 28px;
}

.wrap {
  padding-top: 140px;
  padding-bottom: 32px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.top {
  margin-bottom: 28px;
}

.top .badge:first-child {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: none;
  padding: 0;
}

footer,
.footer {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding-top: 56px;
}

.footer .hr {
  display: none;
}

.footer-inner,
.footer-shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  flex: 1;
}

.footer-logo {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 2px;
}

.footer-links a {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-muted);
}

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  opacity: 0.65;
}

@media (max-width: 640px) {
  nav {
    padding: 16px 20px;
  }

  .container {
    padding: 0 20px;
  }

  .wrap {
    padding-top: 120px;
  }

  .footer-inner,
  .footer-shell {
    flex-direction: column;
    gap: 28px;
  }
}
