:root {
  --background: #f7f7f5;
  --text: #202020;
  --muted: #777;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
  width: min(100% - 4rem, 960px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 3rem 0;
}

.content {
  max-width: 460px;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 1;
}

p {
  max-width: 380px;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.links a {
  padding: 0.65rem 0;
  border-bottom: 1px solid transparent;
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.links a:hover,
.links a:focus-visible {
  border-color: var(--text);
}

.images {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 3.5rem;
  transform: translateY(5rem);
}

.images img {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
}

/* Tablets and smaller screens */
@media (max-width: 700px) {
  .page {
    align-items: flex-start;
    flex-direction: column;
    gap: 3rem;
    padding: 3rem 0;
  }

  .content {
    max-width: none;
  }

  .images {
    flex-direction: row;
    gap: 1rem;
  }

  .images img {
    width: 130px;
    height: 130px;
  }
}

/* Small mobile screens */
@media (max-width: 400px) {
  .page {
    width: min(100% - 2rem, 960px);
    padding: 2rem 0;
  }

  .images img {
    width: 105px;
    height: 105px;
  }

  p {
    font-size: 1rem;
  }
}
