/* Ultra-minimalist design - no frames, focus on books */
:root {
  --bg: #f5f3f0;
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --link-color: #1a1a1a;
  --link-hover: #0066cc;
  --max-width: 900px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  padding: 40px 20px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.avatar {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.header-copy {
  min-width: 0;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.subtitle {
  margin: 8px 0;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.subtitle a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.subtitle a:hover {
  color: var(--link-hover);
}

/* Content */
.content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Section - No frames */
.section {
  padding: 0;
}

.section-title {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Contacts Section */
.contact-links {
  margin: 0;
  line-height: 1.8;
}

.contact-links a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-size: 16px;
  transition: color 0.2s ease;
}

.contact-links a:hover {
  color: var(--link-hover);
}

.contact-links a:not(:last-child)::after {
  content: " ";
  margin: 0 4px;
}

/* Books Section - Three Column Layout */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 24px;
}

.book-column {
  min-width: 0;
}

.column-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.book-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.book-list li {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
}

/* Tools Section */
.tools-list {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
}

.tools-list a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.tools-list a:hover {
  color: var(--link-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 24px 16px;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .avatar {
    width: 128px;
    height: 128px;
  }

  h1 {
    font-size: 28px;
  }

  .subtitle {
    font-size: 16px;
  }

  .content {
    gap: 32px;
  }

  .section-title {
    font-size: 20px;
  }

  /* Stack books on mobile */
  .books-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 20px 12px;
  }

  .books-grid {
    gap: 20px;
  }

  .column-title {
    font-size: 16px;
  }

  .book-list li {
    font-size: 15px;
  }
}
