/* ---------------------------------------------------------------
   Shared styles — landing page + links page
   --------------------------------------------------------------- */

:root {
  --bg: #0e0f13;
  --bg-soft: #16181f;
  --surface: #1b1e27;
  --surface-hover: #232733;
  --border: #2b3040;
  --text: #f2f4f8;
  --text-dim: #9aa3b5;
  --accent: #6ea8fe;
  --accent-soft: rgba(110, 168, 254, 0.14);
  --radius: 14px;
  --maxw: 640px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fbfbfd;
    --bg-soft: #f2f3f7;
    --surface: #ffffff;
    --surface-hover: #f5f6fa;
    --border: #e2e5ec;
    --text: #14161c;
    --text-dim: #666f80;
    --accent: #2563eb;
    --accent-soft: rgba(37, 99, 235, 0.08);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(60rem 40rem at 50% -10rem, var(--accent-soft), transparent 70%);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- landing ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 0 64px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 20px;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.lede {
  margin: 0 0 40px;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  color: var(--text-dim);
  max-width: 34em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.btn:hover { background: var(--surface-hover); transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent); filter: brightness(1.08); }

.footer {
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--text-dim);
}

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

/* ---------- links page ---------- */

.links-page {
  max-width: 520px;
  margin: 0 auto;
  padding: 64px 24px 56px;
  text-align: center;
}

.avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar svg { width: 82%; height: 82%; display: block; }

.links-page h1 {
  font-size: clamp(1.6rem, 6vw, 2rem);
  margin: 0 0 32px;
}

.bio {
  margin: 0 auto 36px;
  color: var(--text-dim);
  max-width: 30em;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  text-align: left;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.links a:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.links .icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  color: var(--text-dim);
}

.links .icon svg { width: 100%; height: 100%; display: block; }

.links .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}


.links .label { font-weight: 550; }

.links .sub {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dim);
}

.links .arrow {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 18px;
  line-height: 1;
}

.empty {
  padding: 28px 18px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 14px;
}
