@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg-body: #09090b;
  --bg-surface: rgba(24, 24, 27, 0.6);
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #22c55e;
  --accent-hover: #4ade80;
  --border: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.05);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(34, 197, 94, 0.05), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(34, 197, 94, 0.03), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.page-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.page-nav a.home {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.page-nav .logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.page-nav .brand {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-nav a.back {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 200ms;
}

.page-nav a.back:hover {
  color: var(--text-primary);
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 3rem 1.5rem 4rem;
}

article {
  max-width: 720px;
  margin: 0 auto;
}

article h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

article .lead {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 3rem;
}

article h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}

article h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
}

article p,
article address {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-style: normal;
  margin-bottom: 1rem;
}

article p strong {
  color: var(--text-primary);
  font-weight: 600;
}

article a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 200ms;
}

article a:hover {
  color: var(--accent);
}

article ul {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

article ul li {
  margin-bottom: 0.375rem;
}

footer {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 200ms;
}

footer a:hover {
  color: var(--text-secondary);
}

.sep {
  opacity: 0.4;
}

@media (max-width: 640px) {
  .page-nav {
    padding: 1rem 1.25rem;
  }
  .page-nav .brand {
    font-size: 1rem;
  }
  main {
    padding: 2rem 1.25rem 3rem;
  }
  article h1 {
    font-size: 1.75rem;
  }
}
