:root {
  --max-width: 44rem;
  --text: #f2eee4;
  --muted: #98999e;
  --bg: #000000;
  --surface: #0c0c0e;
  --accent: #cda866;
  --accent-soft: #201c12;
  --border: #201f22;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(0, 0, 0, 0.6);
  --radius: 14px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header,
.site-footer,
main {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

main {
  flex: 1;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.site-logo-mark {
  height: 34px;
  width: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.site-logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

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

/* Hero */

.hero {
  text-align: center;
  margin-bottom: 2.75rem;
}

.hero-mark {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 1.5rem;
}

.lede {
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 30rem;
}

/* Link cards */

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 32rem) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}

.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.link-card-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.link-card-desc {
  color: var(--muted);
  font-size: 0.9rem;
}

.link-card-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.4rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.link-card:hover .link-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.outro {
  color: var(--muted);
}

/* Generic content styling (about page, etc.) */

main h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin-top: 0;
}

main a {
  color: var(--accent);
}

main code {
  background: var(--accent-soft);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

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

.site-footer p {
  margin: 0.25rem 0;
}
