@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400&family=IBM+Plex+Mono:wght@400;600&display=swap');

:root {
  --text: #111;
  --muted: #888;
  --bg: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: var(--text); text-decoration: none; }
a:hover { opacity: 0.6; }

/* --- Header --- */

header {
  padding: 28px 32px;
}

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
}

.brand .dot {
  color: var(--text);
}

.gh-link {
  display: none;
}

/* --- Main --- */

main {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Prompt --- */

.prompt {
  padding: 40px 0 48px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

.prompt .cmd {
  color: var(--muted);
}

.prompt .cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--muted);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* --- Apps --- */

.apps {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 80px;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  width: 120px;
  transition: opacity 0.2s;
}

.app-card:hover {
  opacity: 0.6;
  text-decoration: none;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
}

.drawdrop-icon {
  background: var(--bg);
  border: 1px solid #eee;
  padding: 14px;
}

.app-info {
  min-width: 0;
}

.app-info h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: -0.2px;
}

.app-info p {
  display: none;
}

.badge {
  display: none;
}

.arrow {
  display: none;
}

/* --- Nav link --- */

.nav-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--text);
}

/* --- Footer --- */

footer {
  padding: 28px 32px;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-align: left;
}

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

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

footer p + p {
  margin-top: 2px;
}

/* --- Journal (notes page) --- */

.journal {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.journal-entry time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

.journal-entry h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 300;
  margin: 4px 0 8px;
}

.journal-entry p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Hero (other pages) --- */

.hero {
  padding: 56px 0 40px;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 8px;
}

/* --- Dark mode --- */

@media (prefers-color-scheme: dark) {
  :root {
    --text: #eee;
    --muted: #666;
    --bg: #0a0a0a;
  }

  .drawdrop-icon {
    border-color: #222;
  }
}

/* --- Mobile --- */

@media (max-width: 600px) {
  header { padding: 24px; }
  main { padding: 0 24px; }
  footer { padding: 24px; }

  .apps {
    gap: 32px;
  }

  .app-icon {
    width: 64px;
    height: 64px;
  }
}
