:root {
  --bg: #0c0e12;
  --bg-elevated: #13161d;
  --text: #e8eaef;
  --muted: #98a0b3;
  --accent: #6ee7ff;
  --accent-soft: rgba(110, 231, 255, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: radial-gradient(1200px 700px at 12% -12%, #1a2233 0%, transparent 55%),
    radial-gradient(900px 520px at 88% 8%, #152028 0%, transparent 50%), var(--bg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, black 0%, transparent 68%);
  opacity: 0.65;
  z-index: 0;
}

.hero,
main,
.footer {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem 2rem;
  text-align: center;
}

.avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, var(--accent-soft), transparent 60%),
    linear-gradient(215deg, #1e2636, #12151c);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--accent);
}

h1 {
  margin: 0 0 0.35rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 3.15rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-weight: 500;
}

.meta {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

a.org {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(110, 231, 255, 0.35);
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  border-color: rgba(110, 231, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, rgba(110, 231, 255, 0.22), rgba(110, 231, 255, 0.06));
  border-color: rgba(110, 231, 255, 0.35);
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.45rem;
  margin-bottom: 1rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.panel h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.panel p {
  margin: 0;
  color: #c5cad6;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.cards a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.cards a:hover {
  border-color: rgba(110, 231, 255, 0.35);
  background: rgba(110, 231, 255, 0.05);
}

.card-title {
  display: block;
  font-weight: 600;
}

.card-desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.hint {
  margin-top: 0.85rem !important;
  font-size: 0.88rem;
  color: var(--muted) !important;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
}

.footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
