/* Snap-Back: Space Mining — GitHub Pages */
:root {
  --bg: #0a0c14;
  --bg-elevated: #111320;
  --text: #e8e6f0;
  --muted: #7a7a9a;
  --accent: #00e5ff;
  --accent-dim: #0099bb;
  --border: rgba(0, 229, 255, 0.1);
  --radius: 12px;
  --max: 42rem;
  --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(
    ellipse 120% 80% at 50% -20%,
    rgba(0, 229, 255, 0.08),
    transparent 55%
  );
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #33eeff;
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  position: sticky;
  top: 0;
  background: rgba(10, 12, 20, 0.92);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.site-header__inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.site-title a {
  color: var(--text);
  text-decoration: none;
}

.site-title a:hover {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

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

main {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  text-align: center;
  padding: 1rem 0 2.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero__lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: linear-gradient(180deg, #33eeff 0%, var(--accent) 100%);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(0, 229, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(0, 229, 255, 0.35);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn--secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn--secondary:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

section {
  margin-bottom: 2.75rem;
}

section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.card p:last-child {
  margin-bottom: 0;
}

ul.feature-list {
  margin: 0;
  padding-left: 1.25rem;
}

ul.feature-list li {
  margin-bottom: 0.5rem;
}

ul.feature-list li::marker {
  color: var(--accent-dim);
}

.meta-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 540px) {
  .meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.meta-item {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.meta-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

/* Legal / inner pages */
.prose {
  max-width: var(--max);
}

.prose h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-top: 0;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-top: 2rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
