:root {
  --ink: #18201d;
  --muted: #5b665f;
  --paper: #ffffff;
  --lime: #d7ed62;
  --coral: #ef7258;
  --coral-text: #c14a2c; /* darkened from #d1502f: 4.3:1 -> 4.9:1 against white, passes AA at small sizes */
  --line: rgba(24, 32, 29, 0.14);
  --sans: "Space Grotesk", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 32px;
  text-align: center;
  color: var(--ink);
  background: var(--paper);
  background-image:
    linear-gradient(rgba(24, 32, 29, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 32, 29, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  background-position: center;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}

/* faint orbit rings behind the content, echoing the wider Quarizmi mark */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(24, 32, 29, 0.07);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  pointer-events: none;
  z-index: 0;
}
body::before { width: 620px; height: 380px; }
body::after { width: 380px; height: 620px; border-color: rgba(239, 114, 88, 0.14); transform: translate(-50%, -50%) rotate(24deg); }

.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  animation: rise 0.7s ease both;
}

.logo { height: 46px; width: auto; }

.eyebrow {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow span { color: var(--coral-text); font-size: 8px; margin: 0 5px; vertical-align: 1px; }

h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
h1 em { color: var(--coral-text); font-style: normal; }

p.lede {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
}
p.lede b { color: var(--ink); font-weight: 500; }

.links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.links .dot { color: var(--line); font-size: 12px; }

a.contact,
a.repo-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.contact:hover,
a.repo-link:hover { color: var(--coral-text); border-color: var(--coral-text); }

.repo-link .icon { width: 14px; height: 14px; flex-shrink: 0; }

footer {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  z-index: 1;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .content { animation: none; }
}

@media (max-width: 500px) {
  .logo { height: 36px; }
  body::before { width: 340px; height: 220px; }
  body::after { width: 220px; height: 340px; }
}
